asm-generic: introduce asm/bitsperlong.h
[sfrench/cifs-2.6.git] / arch / ia64 / include / asm / types.h
index e36b3716e71851493137eddc7a04702f4bc578d5..fbf1ed3b44ced9ea3701fd59c38d1b61957adca7 100644 (file)
 # define __IA64_UL(x)          (x)
 # define __IA64_UL_CONST(x)    x
 
-# ifdef __KERNEL__
-#  define BITS_PER_LONG 64
-# endif
-
 #else
 # define __IA64_UL(x)          ((unsigned long)(x))
 # define __IA64_UL_CONST(x)    x##UL
@@ -34,10 +30,7 @@ typedef unsigned int umode_t;
  */
 # ifdef __KERNEL__
 
-#define BITS_PER_LONG 64
-
 /* DMA addresses are 64-bits wide, in general.  */
-
 typedef u64 dma_addr_t;
 
 # endif /* __KERNEL__ */