headers: smp_lock.h redux
authorAlexey Dobriyan <adobriyan@gmail.com>
Sat, 11 Jul 2009 18:08:37 +0000 (22:08 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 12 Jul 2009 19:22:34 +0000 (12:22 -0700)
commit405f55712dfe464b3240d7816cc4fe4174831be2
tree96c425ea7fa8b31058b8f83a433c5e5265c8ebc7
parentf9fabcb58a6d26d6efde842d1703ac7cfa9427b6
headers: smp_lock.h redux

* Remove smp_lock.h from files which don't need it (including some headers!)
* Add smp_lock.h to files which do need it
* Make smp_lock.h include conditional in hardirq.h
  It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT

  This will make hardirq.h inclusion cheaper for every PREEMPT=n config
  (which includes allmodconfig/allyesconfig, BTW)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
173 files changed:
arch/alpha/kernel/ptrace.c
arch/blackfin/kernel/ptrace.c
arch/blackfin/kernel/sys_bfin.c
arch/cris/kernel/sys_cris.c
arch/ia64/kernel/ptrace.c
arch/m32r/kernel/ptrace.c
arch/microblaze/kernel/ptrace.c
arch/microblaze/kernel/signal.c
arch/microblaze/kernel/sys_microblaze.c
arch/mips/kernel/ptrace32.c
arch/mips/mm/hugetlbpage.c
arch/mn10300/kernel/ptrace.c
arch/mn10300/kernel/signal.c
arch/mn10300/kernel/sys_mn10300.c
arch/mn10300/kernel/traps.c
arch/mn10300/mm/fault.c
arch/mn10300/mm/misalignment.c
arch/powerpc/kernel/ptrace32.c
arch/s390/kernel/dis.c
arch/s390/kernel/ptrace.c
arch/s390/mm/fault.c
arch/sh/mm/tlb-sh3.c
arch/sparc/kernel/ptrace_32.c
arch/sparc/kernel/ptrace_64.c
arch/sparc/kernel/time_64.c
arch/sparc/kernel/traps_32.c
drivers/block/DAC960.c
drivers/block/cciss.c
drivers/block/loop.c
drivers/bluetooth/hci_vhci.c
drivers/char/amiserial.c
drivers/char/cyclades.c
drivers/char/epca.c
drivers/char/isicom.c
drivers/char/istallion.c
drivers/char/moxa.c
drivers/char/mxser.c
drivers/char/n_hdlc.c
drivers/char/n_r3964.c
drivers/char/pty.c
drivers/char/rio/rio_linux.c
drivers/char/riscom8.c
drivers/char/rocket.c
drivers/char/serial167.c
drivers/char/specialix.c
drivers/char/sx.c
drivers/char/synclink.c
drivers/char/synclink_gt.c
drivers/char/synclinkmp.c
drivers/char/tpm/tpm.c
drivers/char/tty_ioctl.c
drivers/char/tty_ldisc.c
drivers/char/vt.c
drivers/char/vt_ioctl.c
drivers/gpio/vr41xx_giu.c
drivers/hid/usbhid/hid-core.c
drivers/isdn/hisax/hfc_usb.c
drivers/isdn/i4l/isdn_tty.c
drivers/isdn/mISDN/stack.c
drivers/media/dvb/bt8xx/dst_ca.c
drivers/media/dvb/dvb-core/dvbdev.h
drivers/media/dvb/ttpci/av7110.c
drivers/media/radio/radio-mr800.c
drivers/media/radio/radio-si470x.c
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/cx23885/cx23885-417.c
drivers/media/video/cx23885/cx23885-video.c
drivers/media/video/cx88/cx88-blackbird.c
drivers/media/video/cx88/cx88-video.c
drivers/media/video/dabusb.c
drivers/media/video/pwc/pwc-if.c
drivers/media/video/pwc/pwc.h
drivers/media/video/s2255drv.c
drivers/media/video/saa5246a.c
drivers/media/video/saa5249.c
drivers/media/video/saa7134/saa7134-empress.c
drivers/media/video/se401.c
drivers/media/video/stk-webcam.c
drivers/media/video/stradis.c
drivers/media/video/stv680.c
drivers/media/video/usbvideo/vicam.c
drivers/media/video/usbvision/usbvision-video.c
drivers/media/video/v4l2-dev.c
drivers/media/video/zoran/zoran_driver.c
drivers/misc/sgi-gru/grufile.c
drivers/misc/sgi-gru/grukservices.c
drivers/net/irda/irtty-sir.c
drivers/pci/hotplug/cpci_hotplug_core.c
drivers/pci/hotplug/cpqphp_ctrl.c
drivers/pci/hotplug/cpqphp_sysfs.c
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/syscall.c
drivers/s390/block/dasd_ioctl.c
drivers/scsi/qla2xxx/qla_mid.c
drivers/telephony/ixj.c
drivers/telephony/phonedev.c
drivers/usb/class/cdc-wdm.c
drivers/usb/gadget/amd5536udc.c
drivers/usb/gadget/langwell_udc.c
drivers/usb/gadget/s3c2410_udc.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/misc/iowarrior.c
drivers/usb/misc/rio500.c
drivers/usb/misc/usblcd.c
drivers/usb/musb/cppi_dma.h
drivers/usb/musb/musb_core.h
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/usb-serial.c
drivers/video/fbmem.c
fs/adfs/super.c
fs/afs/super.c
fs/autofs4/dev-ioctl.c
fs/bfs/dir.c
fs/bfs/file.c
fs/btrfs/compression.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/super.c
fs/char_dev.c
fs/compat.c
fs/compat_ioctl.c
fs/exofs/super.c
fs/ext2/ioctl.c
fs/ext4/ioctl.c
fs/fat/dir.c
fs/fat/namei_msdos.c
fs/fat/namei_vfat.c
fs/fcntl.c
fs/freevxfs/vxfs_super.c
fs/hfs/super.c
fs/hfsplus/super.c
fs/hpfs/dir.c
fs/hpfs/file.c
fs/hpfs/hpfs_fn.h
fs/hpfs/inode.c
fs/hpfs/namei.c
fs/jffs2/super.c
fs/lockd/clntproc.c
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
fs/nfs/delegation.c
fs/nfs/dir.c
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/read.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
fs/nilfs2/dir.c
fs/ocfs2/ioctl.c
fs/reiserfs/xattr.c
fs/squashfs/super.c
fs/ubifs/ioctl.c
fs/xfs/linux-2.6/xfs_file.c
include/linux/crash_dump.h
include/linux/hardirq.h
include/linux/quotaops.h
include/linux/sunrpc/xdr.h
kernel/power/user.c
kernel/trace/blktrace.c
kernel/trace/trace.c
net/appletalk/ddp.c
net/ipx/af_ipx.c
net/irda/af_irda.c
net/irda/irnet/irnet.h
net/irda/irnet/irnet_ppp.c
net/sunrpc/clnt.c
net/sunrpc/sched.c
net/sunrpc/svc_xprt.c
net/wanrouter/wanmain.c
net/x25/af_x25.c