Skip to contentSkip to conversation

ARM: Delete asm/system.h

PATCH New David Howells 1 participant 1 message Feb 24, 2014

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Delete asm/system.h

Delete ARM's asm/system.h. It's the last holdout and should be got rid of.

This builds for defconfig, lpc32xx_defconfig, exynos_defconfig + XEN, the previous changed to a Gemini system and an omap3 config with TI_DAVINCI_EMAC.

cc Russell King <[email protected]>
cc linux-arm-kernel at lists.infradead.org

---

 arch/arm/include/asm/jump_label.h  |    1 -
 arch/arm/include/asm/sync_bitops.h |    1 -
 arch/arm/include/asm/system.h      |    7 -------
 arch/arm/mach-gemini/idle.c        |    2 +-
 arch/arm/mach-omap2/am35xx-emac.c  |    1 -
 drivers/usb/gadget/lpc32xx_udc.c   |    1 -
 6 files changed, 1 insertion(+), 12 deletions(-)
 delete mode 100644 arch/arm/include/asm/system.h
arch/arm/include/asm/jump_label.h +0 -1
index 863c892..70f9b9b 100644
@@ -4,7 +4,6 @@
 #ifdef __KERNEL__
 
 #include <linux/types.h>
-#include <asm/system.h>
 
 #define JUMP_LABEL_NOP_SIZE 4
 
arch/arm/include/asm/sync_bitops.h +0 -1
index 63479ee..9732b8e 100644
@@ -2,7 +2,6 @@
 #define __ASM_SYNC_BITOPS_H__
 
 #include <asm/bitops.h>
-#include <asm/system.h>
 
 /* sync_bitops functions are equivalent to the SMP implementation of the
  * original functions, independently from CONFIG_SMP being defined.
arch/arm/include/asm/system.h deleted +0 -7
deleted file mode 100644
index 368165e..0000000
@@ -1,7 +0,0 @@
-/* FILE TO BE DELETED. DO NOT ADD STUFF HERE! */
-#include <asm/barrier.h>
-#include <asm/compiler.h>
-#include <asm/cmpxchg.h>
-#include <asm/switch_to.h>
-#include <asm/system_info.h>
-#include <asm/system_misc.h>
arch/arm/mach-gemini/idle.c +1 -1
index 87dff4f..ddf8ec9 100644
@@ -3,7 +3,7 @@
  */
 
 #include <linux/init.h>
-#include <asm/system.h>
+#include <asm/system_misc.h>
 #include <asm/proc-fns.h>
 
 static void gemini_idle(void)
arch/arm/mach-omap2/am35xx-emac.c +0 -1
index 25b79a2..6a6935c 100644
@@ -17,7 +17,6 @@
 
 #include <linux/err.h>
 #include <linux/davinci_emac.h>
-#include <asm/system.h>
 #include "omap_device.h"
 #include "am35xx.h"
 #include "control.h"
drivers/usb/gadget/lpc32xx_udc.c +0 -1
index 049ebab..a94bb10 100644
@@ -55,7 +55,6 @@
 #include <mach/hardware.h>
 #include <linux/io.h>
 #include <asm/irq.h>
-#include <asm/system.h>
 
 #include <mach/platform.h>
 #include <mach/irqs.h>