]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
remove asm/bitops.h includes
authorJiri Slaby <jirislaby@gmail.com>
Fri, 19 Oct 2007 06:40:25 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:41 +0000 (11:53 -0700)
remove asm/bitops.h includes

including asm/bitops directly may cause compile errors. don't include it
and include linux/bitops instead. next patch will deny including asm header
directly.

Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
57 files changed:
arch/alpha/lib/fls.c
arch/frv/kernel/irq-mb93091.c
arch/frv/kernel/irq-mb93093.c
arch/frv/kernel/irq-mb93493.c
arch/frv/kernel/irq.c
arch/mips/au1000/pb1200/irqmap.c
arch/mips/basler/excite/excite_irq.c
arch/mips/tx4938/common/setup.c
arch/powerpc/platforms/maple/setup.c
drivers/char/esp.c
drivers/char/mxser.c
drivers/char/mxser_new.c
drivers/ide/ide-io.c
drivers/media/dvb/ttpci/av7110_ir.c
drivers/net/bnx2.c
drivers/net/cris/eth_v10.c
drivers/net/cxgb3/adapter.h
drivers/net/hamradio/dmascc.c
drivers/net/mac89x0.c
drivers/net/spider_net.c
drivers/net/tulip/uli526x.c
drivers/net/wireless/bcm43xx/bcm43xx_leds.c
drivers/pcmcia/m32r_pcc.c
drivers/pcmcia/m8xx_pcmcia.c
drivers/ps3/vuart.c
drivers/rtc/rtc-pl031.c
drivers/rtc/rtc-sa1100.c
drivers/s390/cio/idset.c
drivers/s390/net/claw.c
drivers/scsi/ide-scsi.c
drivers/serial/crisv10.c
drivers/watchdog/at91rm9200_wdt.c
drivers/watchdog/ks8695_wdt.c
drivers/watchdog/omap_wdt.c
drivers/watchdog/sa1100_wdt.c
include/asm-cris/posix_types.h
include/asm-ia64/cacheflush.h
include/asm-ia64/pgtable.h
include/asm-ia64/smp.h
include/asm-ia64/spinlock.h
include/asm-m32r/pgtable.h
include/asm-mips/fpu.h
include/asm-parisc/pgtable.h
include/asm-powerpc/iommu.h
include/asm-powerpc/mmu_context.h
include/asm-ppc/mmu_context.h
include/asm-sparc64/smp.h
include/asm-x86/pgtable_32.h
include/asm-x86/pgtable_64.h
include/asm-x86/smp_32.h
include/asm-x86/topology_64.h
include/linux/of.h
lib/hweight.c
net/core/gen_estimator.c
net/core/pktgen.c
net/ipv4/fib_trie.c
net/netfilter/xt_connbytes.c

index 7ad84ea0acf879e58aac56a5845c0ec8271566a4..32afaa3fa6860e65762a06bcf6b13c961739b12f 100644 (file)
@@ -3,7 +3,7 @@
  */
 
 #include <linux/module.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 /* This is fls(x)-1, except zero is held to zero.  This allows most
    efficent input into extbl, plus it allows easy handling of fls(0)=0.  */
index ad753c1e9b8fffa652e4e682f107f42ec400c5fc..9e38f99bbab89c7e0677e5da0f38f09d9d6590ea 100644 (file)
 #include <linux/interrupt.h>
 #include <linux/init.h>
 #include <linux/irq.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/delay.h>
 #include <asm/irq.h>
 #include <asm/irc-regs.h>
index e0983f6926ed77be5b8874a7624051c258b63bc4..3c2752ca97754eb881d5fef6ceeeb576ee679df1 100644 (file)
 #include <linux/interrupt.h>
 #include <linux/init.h>
 #include <linux/irq.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/delay.h>
 #include <asm/irq.h>
 #include <asm/irc-regs.h>
index c157eeff871d218348e12bcb48f2c3b951e1eaef..7754c7338e4b42cfaeb4c3a76158665f3b05d275 100644 (file)
 #include <linux/interrupt.h>
 #include <linux/init.h>
 #include <linux/irq.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/delay.h>
 #include <asm/irq.h>
 #include <asm/irc-regs.h>
index c7e59dcadee47d58c7c44dac6d1cbce7a2134730..7ddb69089ed47c1373cad3e65a517cb2833d33e0 100644 (file)
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/module.h>
+#include <linux/bitops.h>
 
 #include <asm/atomic.h>
 #include <asm/io.h>
 #include <asm/smp.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 #include <asm/pgalloc.h>
 #include <asm/delay.h>
index 5f48b0603796bc077fb18fed96e33a1b1343ccbe..bdf00e2a35e47db2fd10c59cb4f29a30cefe7588 100644 (file)
@@ -36,8 +36,8 @@
 #include <linux/slab.h>
 #include <linux/random.h>
 #include <linux/delay.h>
+#include <linux/bitops.h>
 
-#include <asm/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/mipsregs.h>
index 1ecab6350421cdeef9101185aac4ce0a3e26179f..4903e067916b4b5badaca3f2b44bfb2d8c3cbe8d 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/timex.h>
 #include <linux/slab.h>
 #include <linux/random.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/irq.h>
index ab4082267553374cfaad83398bd2a37f25819e98..04f009ccb0eb351ed0846400a012e9090eed3f73 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/slab.h>
 #include <linux/random.h>
 #include <linux/irq.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/bootinfo.h>
 #include <asm/io.h>
 #include <asm/irq.h>
index 354c058616299e7fdc7102a5c55fb89ee49fbe29..144177d77cf1075bf590afb8492141d932f59200 100644 (file)
 #include <linux/root_dev.h>
 #include <linux/serial.h>
 #include <linux/smp.h>
+#include <linux/bitops.h>
 
 #include <asm/processor.h>
 #include <asm/sections.h>
 #include <asm/prom.h>
 #include <asm/system.h>
 #include <asm/pgtable.h>
-#include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/kexec.h>
 #include <asm/pci-bridge.h>
index 2e7ae42a5503be7b3120ee91acc2e9fb50e00cde..0f8fb135da53108f1015aee4ebd47e821373bb0c 100644 (file)
 #include <linux/mm.h>
 #include <linux/init.h>
 #include <linux/delay.h>
+#include <linux/bitops.h>
 
 #include <asm/system.h>
 #include <asm/io.h>
-#include <asm/bitops.h>
 
 #include <asm/dma.h>
 #include <linux/slab.h>
index 661aca0e155da9a7140605069f52637abd1faa18..fd0abef7ee0867dfb86ccc0958e0a1c64402e947 100644 (file)
 #include <linux/mm.h>
 #include <linux/delay.h>
 #include <linux/pci.h>
+#include <linux/bitops.h>
 
 #include <asm/system.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 
 #include "mxser.h"
index 854dbf59eb68b036b82afab1e77dd58257a86e79..081c84c7b5489ae9b3e80fb2730d8622dc552790 100644 (file)
 #include <linux/mm.h>
 #include <linux/delay.h>
 #include <linux/pci.h>
+#include <linux/bitops.h>
 
 #include <asm/system.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 
 #include "mxser_new.h"
index 5c8b008676fb3acab8272af5146a3b91597b8d26..32eaa3f8051592f4ecb132ccaa08fb8ced966d60 100644 (file)
 #include <linux/device.h>
 #include <linux/kmod.h>
 #include <linux/scatterlist.h>
+#include <linux/bitops.h>
 
 #include <asm/byteorder.h>
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
-#include <asm/bitops.h>
 
 static int __ide_end_request(ide_drive_t *drive, struct request *rq,
                             int uptodate, unsigned int nr_bytes)
index 5d19c402dad13fbf8096aa05147f28f684d93258..a283e1de83facf6edc5ebae02b6ae232d477b885 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/module.h>
 #include <linux/proc_fs.h>
 #include <linux/kernel.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 #include "av7110.h"
 #include "av7110_hw.h"
index 96cee4badd289c4f4d78515d7db2588bd6f2ba1c..da767d3d5af5bb552a6d0dce0792112a3179fc6c 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
 #include <linux/dma-mapping.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <linux/delay.h>
index 314b2f68f78fc14f6140aa743aca4910c1da7a93..edd6828f0a78c594649b3f354836cffe56066939 100644 (file)
 #include <linux/spinlock.h>
 #include <linux/errno.h>
 #include <linux/init.h>
+#include <linux/bitops.h>
 
 #include <linux/if.h>
 #include <linux/mii.h>
 #include <asm/irq.h>
 #include <asm/dma.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/ethernet.h>
 #include <asm/cache.h>
 
index 044261703381a86439adcdab0f4808834cd1aa09..2a3df145850d8e5004a6485b1be976fe93b5fa8d 100644 (file)
@@ -41,9 +41,9 @@
 #include <linux/timer.h>
 #include <linux/cache.h>
 #include <linux/mutex.h>
+#include <linux/bitops.h>
 #include "t3cdev.h"
 #include <asm/semaphore.h>
-#include <asm/bitops.h>
 #include <asm/io.h>
 
 typedef irqreturn_t(*intr_handler_t) (int, void *);
index bc02e469480401274cee6e7f771f9ab62afe3c0e..11b83dae00ac762f8732ccefaf92ab92716a9959 100644 (file)
@@ -21,6 +21,7 @@
 
 
 #include <linux/module.h>
+#include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/if_arp.h>
@@ -35,7 +36,6 @@
 #include <linux/sockios.h>
 #include <linux/workqueue.h>
 #include <asm/atomic.h>
-#include <asm/bitops.h>
 #include <asm/dma.h>
 #include <asm/io.h>
 #include <asm/irq.h>
index 30854f094965c840fd11e8f8eb1bd55e26449305..a19b5958cee949e89548bbb50acf7768ac44de2f 100644 (file)
@@ -99,9 +99,9 @@ static char *version =
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
 #include <linux/delay.h>
+#include <linux/bitops.h>
 
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/hwtest.h>
 #include <asm/macints.h>
index fab055ffcc9037070442469a34cc4d0fa1675237..571060a3c91e98ea930be958c8523e4716fd66af 100644 (file)
@@ -46,7 +46,7 @@
 #include <linux/vmalloc.h>
 #include <linux/wait.h>
 #include <linux/workqueue.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/pci-bridge.h>
 #include <net/checksum.h>
 
index 76e55612430bae38ffc8c352d798bb112fcf61b7..a7afeea156bd5f80229b6b8a55b3952f3c764299 100644 (file)
@@ -34,9 +34,9 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include <linux/dma-mapping.h>
+#include <linux/bitops.h>
 
 #include <asm/processor.h>
-#include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/uaccess.h>
index 8f198befba390e1f325ee03f77bdc04b5896bc44..cb51dc51cce6d36f73ad2efef9d1672436c48ce3 100644 (file)
@@ -29,7 +29,7 @@
 #include "bcm43xx_radio.h"
 #include "bcm43xx.h"
 
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 
 static void bcm43xx_led_changestate(struct bcm43xx_led *led)
index 67d28ee80f220bc4e119b1ac2ebe9639e2459c46..c5e0d89c3ecefecf09cc03e5558b4c0aff4ca315 100644 (file)
@@ -22,9 +22,9 @@
 #include <linux/workqueue.h>
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
+#include <linux/bitops.h>
 #include <asm/irq.h>
 #include <asm/io.h>
-#include <asm/bitops.h>
 #include <asm/system.h>
 #include <asm/addrspace.h>
 
index b01985498460f926d0f6e920d900b10fb1b59cb8..d182760f035b1e7f8fed9d516ec4d02bdf9baa0b 100644 (file)
@@ -48,9 +48,9 @@
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/fsl_devices.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
-#include <asm/bitops.h>
 #include <asm/system.h>
 #include <asm/time.h>
 #include <asm/mpc8xx.h>
index bea25a1391ee3adc0475be28aeb236c716eb1324..9dea585ef8064f656ebeed605dc834179206ee2c 100644 (file)
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
+#include <linux/bitops.h>
 #include <asm/ps3.h>
 
 #include <asm/firmware.h>
 #include <asm/lv1call.h>
-#include <asm/bitops.h>
 
 #include "vuart.h"
 
index e4bf68ca96f7b2b237888f0a32b7f1b3fc86b449..2fd49edcc712117a0da38adfa60268595d00fd4e 100644 (file)
 #include <linux/interrupt.h>
 #include <linux/string.h>
 #include <linux/pm.h>
+#include <linux/bitops.h>
 
 #include <linux/amba/bus.h>
 
 #include <asm/io.h>
-#include <asm/bitops.h>
 #include <asm/hardware.h>
 #include <asm/irq.h>
 #include <asm/rtc.h>
index 0918b787c4dd033671a0bd1902594b1ae858b653..6f1e9a9804bc9a7b0edbee3e83c256d5c1572e07 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/interrupt.h>
 #include <linux/string.h>
 #include <linux/pm.h>
+#include <linux/bitops.h>
 
-#include <asm/bitops.h>
 #include <asm/hardware.h>
 #include <asm/irq.h>
 #include <asm/rtc.h>
index 16ea828e99f7a0b39228cda81f78247348e01966..ef7bc0a125efde63b0c06dd7fb64ce52d9ec5a92 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <linux/slab.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include "idset.h"
 #include "css.h"
 
index 399695f7b1af147e083d60026bb49a6f11bd2389..3561982749e36d943d927c80227215cf838285d0 100644 (file)
  *    1.15  Changed for 2.6 Kernel  No longer compiles on 2.4 or lower
  *    1.25  Added Packing support
  */
-#include <asm/bitops.h>
 #include <asm/ccwdev.h>
 #include <asm/ccwgroup.h>
 #include <asm/debug.h>
 #include <asm/idals.h>
 #include <asm/io.h>
 
+#include <linux/bitops.h>
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/errno.h>
index fa7ba64483fb4c3976518f909365f1156bef9262..252d1806467fbd94caa949d47cbd83797660f679 100644 (file)
@@ -47,9 +47,9 @@
 #include <linux/scatterlist.h>
 #include <linux/delay.h>
 #include <linux/mutex.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 
 #include <scsi/scsi.h>
index 7e8724d3571f3f53219075ddabbd667f40517d34..f523cdf4b02b52a3a439a0a80d8cf52af4612842 100644 (file)
@@ -442,11 +442,11 @@ static char *serial_version = "$Revision: 1.25 $";
 #include <asm/uaccess.h>
 #include <linux/kernel.h>
 #include <linux/mutex.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
 #include <linux/delay.h>
 
 #include <asm/arch/svinto.h>
index 38bd3737259973fcaebf683a2a5810283e46ffd8..a684b1e873723732836b638b3c52cece15cc0f92 100644 (file)
@@ -9,6 +9,7 @@
  * 2 of the License, or (at your option) any later version.
  */
 
+#include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
 #include <linux/init.h>
@@ -19,7 +20,6 @@
 #include <linux/platform_device.h>
 #include <linux/types.h>
 #include <linux/watchdog.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 #include <asm/arch/at91_st.h>
 
index 7150fb945eaf77c4a2774fdbb884fe3dec8a7d9e..e3a29c3023095ed8ca8e53bf667f16ce865bf095 100644 (file)
@@ -8,6 +8,7 @@
  * published by the Free Software Foundation.
  */
 
+#include <linux/bitops.h>
 #include <linux/errno.h>
 #include <linux/fs.h>
 #include <linux/init.h>
@@ -18,7 +19,6 @@
 #include <linux/platform_device.h>
 #include <linux/types.h>
 #include <linux/watchdog.h>
-#include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
 #include <asm/arch/regs-timer.h>
index 719b066f73c41cd8cbf655d7f2afa0c7ad81e774..635ca454f56bafc6f52f4752a6be5ebdddc17940 100644 (file)
 #include <linux/platform_device.h>
 #include <linux/moduleparam.h>
 #include <linux/clk.h>
+#include <linux/bitops.h>
 
 #include <asm/io.h>
 #include <asm/uaccess.h>
 #include <asm/hardware.h>
-#include <asm/bitops.h>
 
 #include <asm/arch/prcm.h>
 
index 3475f47aaa45766cc48f3cf7361683ddfede5aee..34a2b3b81800785d8e2967ddd388cfa01905658a 100644 (file)
 #include <linux/miscdevice.h>
 #include <linux/watchdog.h>
 #include <linux/init.h>
+#include <linux/bitops.h>
 
 #ifdef CONFIG_ARCH_PXA
 #include <asm/arch/pxa-regs.h>
 #endif
 
 #include <asm/hardware.h>
-#include <asm/bitops.h>
 #include <asm/uaccess.h>
 
 #define OSCR_FREQ              CLOCK_TICK_RATE
index 7b9ed22ab5dd6accf38fc93f79dc461c04cfdb08..92000d0c3f9753a645fdf14dbfd875cd22e9b91b 100644 (file)
@@ -52,7 +52,7 @@ typedef struct {
 } __kernel_fsid_t;
 
 #ifdef __KERNEL__
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 #undef __FD_SET
 #define __FD_SET(fd,fdsetp) set_bit(fd, (void *)(fdsetp))
index 4906916d715b5d3ea95d53659218234afe0f42f3..afcfbda76e20f3f5914b579d16e0dae9c7f83249 100644 (file)
@@ -7,8 +7,8 @@
  */
 
 #include <linux/page-flags.h>
+#include <linux/bitops.h>
 
-#include <asm/bitops.h>
 #include <asm/page.h>
 
 /*
index 0971ec90807e77201f2b77b93533c1ab7254341f..e6204f14f6142222cc3b7b06d469ffbf5a1d4a6e 100644 (file)
 # ifndef __ASSEMBLY__
 
 #include <linux/sched.h>       /* for mm_struct */
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/cacheflush.h>
 #include <asm/mmu_context.h>
 #include <asm/processor.h>
index 1703c9d885bd0723b186f2ca8a673741b1d666cf..471cc2ee9ac4c10be30a3b6d772f53912593d90e 100644 (file)
@@ -14,8 +14,8 @@
 #include <linux/threads.h>
 #include <linux/kernel.h>
 #include <linux/cpumask.h>
+#include <linux/bitops.h>
 
-#include <asm/bitops.h>
 #include <asm/io.h>
 #include <asm/param.h>
 #include <asm/processor.h>
index ff857e31738a00dfbed4534ee1832528e231fb33..0229fb95fb3824f657452dc4adbd1bd4e52c48e1 100644 (file)
@@ -11,9 +11,9 @@
 
 #include <linux/compiler.h>
 #include <linux/kernel.h>
+#include <linux/bitops.h>
 
 #include <asm/atomic.h>
-#include <asm/bitops.h>
 #include <asm/intrinsics.h>
 #include <asm/system.h>
 
index 92d7266783fd1b9486818d678f1ae20d82090f06..86505387be0872b305cefdaa89796e3f67d04548 100644 (file)
@@ -21,9 +21,9 @@
 #ifndef __ASSEMBLY__
 
 #include <linux/threads.h>
+#include <linux/bitops.h>
 #include <asm/processor.h>
 #include <asm/addrspace.h>
-#include <asm/bitops.h>
 #include <asm/page.h>
 
 struct mm_struct;
index 483685b1592e0f5d3a970db9cb352f10529e8745..e59d4c039661278a469df9caa5e2a74f6cee1a50 100644 (file)
 
 #include <linux/sched.h>
 #include <linux/thread_info.h>
+#include <linux/bitops.h>
 
 #include <asm/mipsregs.h>
 #include <asm/cpu.h>
 #include <asm/cpu-features.h>
 #include <asm/hazards.h>
-#include <asm/bitops.h>
 #include <asm/processor.h>
 #include <asm/current.h>
 
index e88cacd63724f89674f45e8f69f18db1e9f78a16..9ab79c8e5a417b12401be1f639f11a3cd43b8724 100644 (file)
@@ -11,9 +11,9 @@
  */
 
 #include <linux/mm.h>          /* for vm_area_struct */
+#include <linux/bitops.h>
 #include <asm/processor.h>
 #include <asm/cache.h>
-#include <asm/bitops.h>
 
 /*
  * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel
index 870967e47204e32642106b61702eb4580be1e69e..4a82fdccee92a8fd57e5bde18439a05c5e48c02e 100644 (file)
@@ -26,9 +26,9 @@
 #include <linux/spinlock.h>
 #include <linux/device.h>
 #include <linux/dma-mapping.h>
+#include <linux/bitops.h>
 #include <asm/machdep.h>
 #include <asm/types.h>
-#include <asm/bitops.h>
 
 #define IOMMU_PAGE_SHIFT      12
 #define IOMMU_PAGE_SIZE       (ASM_CONST(1) << IOMMU_PAGE_SHIFT)
index f863ac21409e7b4166add8e1fea65c4e8ab05ac7..9102b8bf0ead02863ac30fcc0f055fa1cf41c743 100644 (file)
@@ -8,7 +8,7 @@
 
 #ifndef CONFIG_PPC64
 #include <asm/atomic.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 /*
  * On 32-bit PowerPC 6xx/7xx/7xxx CPUs, we use a set of 16 VSIDs
index a6441a063e5d7c20d1553e79aa898814052fe1d9..b2e25d8997bffdce4dc14f635646df600c1fce52 100644 (file)
@@ -2,8 +2,9 @@
 #ifndef __PPC_MMU_CONTEXT_H
 #define __PPC_MMU_CONTEXT_H
 
+#include <linux/bitops.h>
+
 #include <asm/atomic.h>
-#include <asm/bitops.h>
 #include <asm/mmu.h>
 #include <asm/cputable.h>
 #include <asm-generic/mm_hooks.h>
index 42c09949526cd53f3b259b4912463a77851edbee..1c1c5ea5cea5dea69e40cf4c4a96932f4d24d58b 100644 (file)
@@ -26,7 +26,7 @@
  *     Private routines/data
  */
  
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/atomic.h>
 #include <asm/percpu.h>
 
index acd4b339c49b411b273949c0c70b799696844bd8..ed3e70d8d04bfc3a94a56f38b177850d756cad1a 100644 (file)
 #include <linux/threads.h>
 #include <asm/paravirt.h>
 
-#ifndef _I386_BITOPS_H
-#include <asm/bitops.h>
-#endif
-
+#include <linux/bitops.h>
 #include <linux/slab.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
index a79f5355e3b06191287c6142291cfab3923a7743..9b0ff477b39e7dc2021196619148969bffe2b355 100644 (file)
@@ -9,7 +9,7 @@
  * the x86-64 page table tree.
  */
 #include <asm/processor.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <linux/threads.h>
 #include <asm/pda.h>
 
index ee46038d126c07fac09499d7acdf99ac2dfdc684..1f576a93368fc2bd44d6582f84052bac38e4a62b 100644 (file)
@@ -11,7 +11,7 @@
 #endif
 
 #if defined(CONFIG_X86_LOCAL_APIC) && !defined(__ASSEMBLY__)
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/mpspec.h>
 #include <asm/apic.h>
 #ifdef CONFIG_X86_IO_APIC
index 848c17f922262d0e7fd9733c0baa1b7a58e347a0..c0c93d744673664b1bcfeaa0602d8b3e3f7308d4 100644 (file)
@@ -5,7 +5,7 @@
 #ifdef CONFIG_NUMA
 
 #include <asm/mpspec.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 
 extern cpumask_t cpu_online_map;
 
index 6df80e9859147973ecd06d6c2863d400b838d71a..5c39b9270ff7007b359df90a7cfc407607ddb7ab 100644 (file)
@@ -16,8 +16,8 @@
  * 2 of the License, or (at your option) any later version.
  */
 #include <linux/types.h>
+#include <linux/bitops.h>
 
-#include <asm/bitops.h>
 #include <asm/prom.h>
 
 /* flag descriptions */
index 360556a7803d4dae582b39edec3e91bb78ac7749..389424ecb129f13760de1677bd297b392264c953 100644 (file)
@@ -1,6 +1,6 @@
 #include <linux/module.h>
+#include <linux/bitops.h>
 #include <asm/types.h>
-#include <asm/bitops.h>
 
 /**
  * hweightN - returns the hamming weight of a N-bit word
index 590a767b029c15e82886bfcb49574dcfdbc7ba1e..daadbcc4e8dd7e45d92205f6ef4810a315ce3a62 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
index 8cae60c5338304f17cc6f59197c6bb447229b3eb..9d6e6f18838be2fdb7690c38139a3b24680f121e 100644 (file)
 #endif
 #include <asm/byteorder.h>
 #include <linux/rcupdate.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/uaccess.h>
index 81a8285d6d6a4251c7cd166635f7058046078bf6..8d8c2915e064f98d16d1409c2524f2277107185b 100644 (file)
@@ -54,7 +54,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index af79423bc8e81a2d41884e2564a4651b65563bfc..9ec50139b9a177d559236790b3f0351c7ba9ef71 100644 (file)
@@ -2,13 +2,13 @@
  * GPL (C) 2002 Martin Devera (devik@cdi.cz).
  */
 #include <linux/module.h>
+#include <linux/bitops.h>
 #include <linux/skbuff.h>
 #include <linux/netfilter/x_tables.h>
 #include <linux/netfilter/xt_connbytes.h>
 #include <net/netfilter/nf_conntrack.h>
 
 #include <asm/div64.h>
-#include <asm/bitops.h>
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>");