linux_dsm_epyc7002/arch/arm
Alexey Dobriyan e8edc6e03a Detach sched.h from mm.h
First thing mm.h does is including sched.h solely for can_do_mlock() inline
function which has "current" dereference inside. By dealing with can_do_mlock()
mm.h can be detached from sched.h which is good. See below, why.

This patch
a) removes unconditional inclusion of sched.h from mm.h
b) makes can_do_mlock() normal function in mm/mlock.c
c) exports can_do_mlock() to not break compilation
d) adds sched.h inclusions back to files that were getting it indirectly.
e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
   getting them indirectly

Net result is:
a) mm.h users would get less code to open, read, preprocess, parse, ... if
   they don't need sched.h
b) sched.h stops being dependency for significant number of files:
   on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
   after patch it's only 3744 (-8.3%).

Cross-compile tested on

	all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
	alpha alpha-up
	arm
	i386 i386-up i386-defconfig i386-allnoconfig
	ia64 ia64-up
	m68k
	mips
	parisc parisc-up
	powerpc powerpc-up
	s390 s390-up
	sparc sparc-up
	sparc64 sparc64-up
	um-x86_64
	x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfig

as well as my two usual configs.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-21 09:18:19 -07:00
..
boot Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-06 13:20:10 -07:00
common Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-06 13:20:10 -07:00
configs [ARM] 4333/2: KS8695: Micrel Development board 2007-05-11 22:02:55 +01:00
kernel arm: walk_stacktrace() needs to be exported 2007-05-15 18:56:37 -07:00
lib [ARM] getuser.S and putuser.S don't need thread_info.h nor asm-offsets.h 2007-04-21 20:35:22 +01:00
mach-aaec2000 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-at91 Merge branch 'fixes' into devel 2007-05-12 16:12:12 +01:00
mach-clps711x Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-clps7500 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-davinci [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mach-ebsa110 [ARM] EBSA110: fix build errors caused by missing "const" 2007-05-11 17:20:02 +01:00
mach-ep93xx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-footbridge Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-h720x Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-imx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-integrator Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-iop13xx Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mach-iop32x [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization 2007-05-03 14:02:48 +01:00
mach-iop33x [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization 2007-05-03 14:02:48 +01:00
mach-ixp4xx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-ixp23xx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-ixp2000 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-ks8695 [ARM] 4333/2: KS8695: Micrel Development board 2007-05-11 22:02:55 +01:00
mach-l7200 [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
mach-lh7a40x Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-netx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-ns9xxx Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-omap1 ARM: OMAP: Fix section mismatch warning 2007-05-10 16:32:54 -07:00
mach-omap2 Merge branch 'fixes' into devel 2007-05-12 16:12:12 +01:00
mach-pnx4008 [ARM] Spinlock initializer cleanup 2007-05-11 17:38:04 +01:00
mach-pxa [ARM] 4362/1: trizeps4 update 2007-05-11 17:19:20 +01:00
mach-realview Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-rpc [ARM] Add platform support for PATA on RiscPC 2007-05-03 14:16:55 +01:00
mach-s3c2400 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2410 [ARM] 4359/3: H1940: Add bluetooth support 2007-05-11 17:19:37 +01:00
mach-s3c2412 [ARM] 4319/1: S3C2412: Add kconfig for MACH_SMDK2412 2007-04-21 20:53:28 +01:00
mach-s3c2440 [ARM] 4325/1: S3C24XX: remove s3c24xx_board 2007-04-21 20:53:19 +01:00
mach-s3c2442 [ARM] 4157/2: S3C24XX: move arch/arch/mach-s3c2410 into cpu components 2007-02-11 17:36:09 +00:00
mach-s3c2443 [ARM] 4365/1: Add AC97 clock to s3c2443 machine 2007-05-11 17:19:26 +01:00
mach-sa1100 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-shark Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mach-versatile Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
mm Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
nwfpe [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 2006-07-13 13:04:24 +01:00
oprofile [ARM] Add stacktrace support and make oprofile use it 2007-04-28 09:59:37 +01:00
plat-iop Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
plat-omap ARM: OMAP: 24xx pinmux updates 2007-05-10 15:51:09 -07:00
plat-s3c24xx fix file specification in comments 2007-05-09 08:58:16 +02:00
tools [ARM] Update mach-types 2007-05-11 19:54:39 +01:00
vfp [ARM] Remove unnecessary asm/ptrace.h from VFP support code 2007-04-22 10:56:40 +01:00
Kconfig Merge branch 'fixes' into devel 2007-05-12 16:12:12 +01:00
Kconfig-nommu [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Kconfig.debug [ARM] Remove DEBUG_WAITQ 2006-11-30 12:24:47 +00:00
Makefile [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor 2007-05-11 22:02:48 +01:00