1
0
Fork 0
alistair23-linux/sound/core
Tim Schmielau cd354f1ae7 [PATCH] remove many unneeded #includes of sched.h
After Al Viro (finally) succeeded in removing the sched.h #include in module.h
recently, it makes sense again to remove other superfluous sched.h includes.
There are quite a lot of files which include it but don't actually need
anything defined in there.  Presumably these includes were once needed for
macros that used to live in sched.h, but moved to other header files in the
course of cleaning it up.

To ease the pain, this time I did not fiddle with any header files and only
removed #includes from .c-files, which tend to cause less trouble.

Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
configs in arch/arm/configs on arm.  I also checked that no new warnings were
introduced by the patch (actually, some warnings are removed that were emitted
by unnecessarily included header files).

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-14 08:09:54 -08:00
..
oss [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
seq [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Kconfig
Makefile
control.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
control_compat.c [ALSA] alsa core: convert to list_for_each_entry* 2007-02-09 09:00:10 +01:00
device.c [ALSA] alsa core: convert to list_for_each_entry* 2007-02-09 09:00:10 +01:00
hwdep.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
hwdep_compat.c [PATCH] hwdep_compat missed __user annotations 2006-10-10 15:37:21 -07:00
info.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
info_oss.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
init.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
isadma.c
memalloc.c [ALSA] alsa core: convert to list_for_each_entry* 2007-02-09 09:00:10 +01:00
memory.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
misc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pcm.c [PATCH] Fix breakage with CONFIG_SYSFS_DEPRECATED 2007-02-09 16:25:48 +01:00
pcm_compat.c [ALSA] Fix control/status mmap with shared PCM substream 2006-09-23 10:39:50 +02:00
pcm_lib.c [ALSA] Fix possible invalid memory access in PCM core 2007-02-09 09:03:31 +01:00
pcm_memory.c [ALSA] pcm core: add prealloc_max file to substream directory to show maximum DMA size 2007-02-09 09:00:13 +01:00
pcm_misc.c
pcm_native.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
pcm_timer.c
rawmidi.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
rawmidi_compat.c
rtctimer.c [ALSA] rtctimer: handle RTC interrupts with a tasklet 2006-11-28 13:46:33 +01:00
sgbuf.c [ALSA] use the ALIGN macro 2006-12-20 08:55:36 +01:00
sound.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
sound_oss.c [PATCH] ALSA: Fix sysfs breakage 2007-01-29 14:32:53 -08:00
timer.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
timer_compat.c