Skip to content

Commit

Permalink
Remove all #inclusions of asm/system.h
Browse files Browse the repository at this point in the history
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it.  Performed with the following command:

perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *`

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
dhowells committed Mar 28, 2012
1 parent 96f951e commit 9ffc93f
Show file tree
Hide file tree
Showing 510 changed files with 4 additions and 512 deletions.
1 change: 0 additions & 1 deletion arch/um/include/asm/fixmap.h
Expand Up @@ -2,7 +2,6 @@
#define __UM_FIXMAP_H

#include <asm/processor.h>
#include <asm/system.h>
#include <asm/kmap_types.h>
#include <asm/archparam.h>
#include <asm/page.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/acpi/processor_driver.c
Expand Up @@ -46,7 +46,6 @@
#include <linux/slab.h>

#include <asm/io.h>
#include <asm/system.h>
#include <asm/cpu.h>
#include <asm/delay.h>
#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/eni.c
Expand Up @@ -19,7 +19,6 @@
#include <linux/atm_eni.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <asm/system.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/firestream.c
Expand Up @@ -49,7 +49,6 @@
#include <linux/bitops.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <asm/system.h>
#include <asm/string.h>
#include <asm/io.h>
#include <linux/atomic.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/horizon.c
Expand Up @@ -43,7 +43,6 @@
#include <linux/wait.h>
#include <linux/slab.h>

#include <asm/system.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/idt77105.c
Expand Up @@ -16,7 +16,6 @@
#include <linux/atm_idt77105.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <asm/system.h>
#include <asm/param.h>
#include <asm/uaccess.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/atm/iphase.c
Expand Up @@ -56,7 +56,6 @@
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <asm/system.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/suni.c
Expand Up @@ -22,7 +22,6 @@
#include <linux/capability.h>
#include <linux/atm_suni.h>
#include <linux/slab.h>
#include <asm/system.h>
#include <asm/param.h>
#include <asm/uaccess.h>
#include <linux/atomic.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/atm/zatm.c
Expand Up @@ -24,7 +24,6 @@
#include <linux/wait.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <asm/system.h>
#include <asm/string.h>
#include <asm/io.h>
#include <linux/atomic.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/floppy.c
Expand Up @@ -202,7 +202,6 @@ static int slow_floppy;

#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/system.h>

static int FLOPPY_IRQ = 6;
static int FLOPPY_DMA = 2;
Expand Down
1 change: 0 additions & 1 deletion drivers/block/hd.c
Expand Up @@ -44,7 +44,6 @@
#define HD_IRQ 14

#define REALLY_SLOW_IO
#include <asm/system.h>
#include <asm/io.h>
#include <asm/uaccess.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/block/nbd.c
Expand Up @@ -34,7 +34,6 @@
#include <linux/kthread.h>

#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/types.h>

#include <linux/nbd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/block/xd.c
Expand Up @@ -52,7 +52,6 @@
#include <linux/io.h>
#include <linux/gfp.h>

#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/dma.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/bt3c_cs.c
Expand Up @@ -39,7 +39,6 @@
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/bitops.h>
#include <asm/system.h>
#include <asm/io.h>

#include <linux/device.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/btuart_cs.c
Expand Up @@ -38,7 +38,6 @@
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/bitops.h>
#include <asm/system.h>
#include <asm/io.h>

#include <pcmcia/cistpl.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/dtl1_cs.c
Expand Up @@ -38,7 +38,6 @@
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/bitops.h>
#include <asm/system.h>
#include <asm/io.h>

#include <pcmcia/cistpl.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/apm-emulation.c
Expand Up @@ -31,7 +31,6 @@
#include <linux/kthread.h>
#include <linux/delay.h>

#include <asm/system.h>

/*
* The apm_bios device is one of the misc char devices.
Expand Down
1 change: 0 additions & 1 deletion drivers/char/ds1302.c
Expand Up @@ -24,7 +24,6 @@
#include <linux/uaccess.h>
#include <linux/io.h>

#include <asm/system.h>
#include <asm/rtc.h>
#if defined(CONFIG_M32R)
#include <asm/m32r.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/efirtc.c
Expand Up @@ -37,7 +37,6 @@
#include <linux/efi.h>
#include <linux/uaccess.h>

#include <asm/system.h>

#define EFI_RTC_VERSION "0.4"

Expand Down
1 change: 0 additions & 1 deletion drivers/char/genrtc.c
Expand Up @@ -56,7 +56,6 @@
#include <linux/workqueue.h>

#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/rtc.h>

/*
Expand Down
1 change: 0 additions & 1 deletion drivers/char/hpet.c
Expand Up @@ -36,7 +36,6 @@
#include <linux/io.h>

#include <asm/current.h>
#include <asm/system.h>
#include <asm/irq.h>
#include <asm/div64.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/char/ipmi/ipmi_devintf.c
Expand Up @@ -34,7 +34,6 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <asm/system.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/ipmi/ipmi_msghandler.c
Expand Up @@ -33,7 +33,6 @@

#include <linux/module.h>
#include <linux/errno.h>
#include <asm/system.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/ipmi/ipmi_si_intf.c
Expand Up @@ -41,7 +41,6 @@

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <asm/system.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/timer.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/lp.c
Expand Up @@ -135,7 +135,6 @@

#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/system.h>

/* if you have more than 8 printers, remember to increase LP_NO */
#define LP_NO 8
Expand Down
1 change: 0 additions & 1 deletion drivers/char/mbcs.c
Expand Up @@ -28,7 +28,6 @@
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/pgtable.h>
#include <asm/sn/addrs.h>
#include <asm/sn/intr.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/mspec.c
Expand Up @@ -44,7 +44,6 @@
#include <linux/slab.h>
#include <linux/numa.h>
#include <asm/page.h>
#include <asm/system.h>
#include <asm/pgtable.h>
#include <linux/atomic.h>
#include <asm/tlbflush.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/mwave/3780i.c
Expand Up @@ -56,7 +56,6 @@

#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/irq.h>
#include "smapi.h"
#include "mwavedd.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/char/nvram.c
Expand Up @@ -111,7 +111,6 @@
#include <linux/uaccess.h>
#include <linux/mutex.h>

#include <asm/system.h>

static DEFINE_MUTEX(nvram_mutex);
static DEFINE_SPINLOCK(nvram_state_lock);
Expand Down
1 change: 0 additions & 1 deletion drivers/char/nwflash.c
Expand Up @@ -32,7 +32,6 @@
#include <asm/io.h>
#include <asm/leds.h>
#include <asm/mach-types.h>
#include <asm/system.h>
#include <asm/uaccess.h>

/*****************************************************************************/
Expand Down
1 change: 0 additions & 1 deletion drivers/char/pcmcia/synclink_cs.c
Expand Up @@ -60,7 +60,6 @@
#include <linux/ioctl.h>
#include <linux/synclink.h>

#include <asm/system.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/dma.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/rtc.c
Expand Up @@ -83,7 +83,6 @@
#include <linux/ratelimit.h>

#include <asm/current.h>
#include <asm/system.h>

#ifdef CONFIG_X86
#include <asm/hpet.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/char/sonypi.c
Expand Up @@ -54,7 +54,6 @@

#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/system.h>

#include <linux/sonypi.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/char/xilinx_hwicap/xilinx_hwicap.c
Expand Up @@ -89,7 +89,6 @@

#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/system.h>

#ifdef CONFIG_OF
/* For open firmware. */
Expand Down
1 change: 0 additions & 1 deletion drivers/cpufreq/omap-cpufreq.c
Expand Up @@ -26,7 +26,6 @@
#include <linux/cpu.h>
#include <linux/module.h>

#include <asm/system.h>
#include <asm/smp_plat.h>
#include <asm/cpu.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/cpufreq/powernow-k7.c
Expand Up @@ -27,7 +27,6 @@

#include <asm/timer.h> /* Needed for recalibrate_cpu_khz() */
#include <asm/msr.h>
#include <asm/system.h>
#include <asm/cpu_device_id.h>

#ifdef CONFIG_X86_POWERNOW_K7_ACPI
Expand Down
1 change: 0 additions & 1 deletion drivers/firewire/core-cdev.c
Expand Up @@ -44,7 +44,6 @@
#include <linux/wait.h>
#include <linux/workqueue.h>

#include <asm/system.h>

#include "core.h"

Expand Down
1 change: 0 additions & 1 deletion drivers/firewire/core-device.c
Expand Up @@ -40,7 +40,6 @@

#include <linux/atomic.h>
#include <asm/byteorder.h>
#include <asm/system.h>

#include "core.h"

Expand Down
1 change: 0 additions & 1 deletion drivers/firewire/core-topology.c
Expand Up @@ -31,7 +31,6 @@

#include <linux/atomic.h>
#include <asm/byteorder.h>
#include <asm/system.h>

#include "core.h"

Expand Down
1 change: 0 additions & 1 deletion drivers/firewire/ohci.c
Expand Up @@ -46,7 +46,6 @@

#include <asm/byteorder.h>
#include <asm/page.h>
#include <asm/system.h>

#ifdef CONFIG_PPC_PMAC
#include <asm/pmac_feature.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/firewire/sbp2.c
Expand Up @@ -52,7 +52,6 @@
#include <linux/workqueue.h>

#include <asm/byteorder.h>
#include <asm/system.h>

#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/busses/i2c-acorn.c
Expand Up @@ -19,7 +19,6 @@

#include <mach/hardware.h>
#include <asm/hardware/ioc.h>
#include <asm/system.h>

#define FORCE_ONES 0xdc
#define SCL 0x02
Expand Down
1 change: 0 additions & 1 deletion drivers/ide/ide-cs.c
Expand Up @@ -41,7 +41,6 @@
#include <linux/major.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/system.h>

#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/ide/qd65xx.c
Expand Up @@ -29,7 +29,6 @@
#include <linux/blkdev.h>
#include <linux/ide.h>
#include <linux/init.h>
#include <asm/system.h>
#include <asm/io.h>

#define DRV_NAME "qd65xx"
Expand Down
1 change: 0 additions & 1 deletion drivers/infiniband/hw/ehca/ehca_reqs.c
Expand Up @@ -42,7 +42,6 @@
*/


#include <asm/system.h>
#include "ehca_classes.h"
#include "ehca_tools.h"
#include "ehca_qes.h"
Expand Down
1 change: 0 additions & 1 deletion drivers/input/joydev.c
Expand Up @@ -13,7 +13,6 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <asm/io.h>
#include <asm/system.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/joystick.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/joystick/amijoy.c
Expand Up @@ -35,7 +35,6 @@
#include <linux/interrupt.h>
#include <linux/mutex.h>

#include <asm/system.h>
#include <asm/amigahw.h>
#include <asm/amigaints.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/input/mouse/amimouse.c
Expand Up @@ -25,7 +25,6 @@

#include <asm/irq.h>
#include <asm/setup.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/amigahw.h>
#include <asm/amigaints.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/mouse/atarimouse.c
Expand Up @@ -47,7 +47,6 @@

#include <asm/irq.h>
#include <asm/setup.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/atarihw.h>
#include <asm/atarikb.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/input/serio/hp_sdc.c
Expand Up @@ -71,7 +71,6 @@
#include <linux/slab.h>
#include <linux/hil.h>
#include <asm/io.h>
#include <asm/system.h>

/* Machine-specific abstraction */

Expand Down

0 comments on commit 9ffc93f

Please sign in to comment.