]> Pileus Git - ~andy/linux/blobdiff - include/asm-parisc/types.h
[PATCH] mbxfb: Add framebuffer driver for the Intel 2700G
[~andy/linux] / include / asm-parisc / types.h
index d21b9d0d63eabc37485671c951a7fc2dee470775..34fdce361a5abbebfef5645a3399a20e0515f226 100644 (file)
@@ -33,8 +33,10 @@ typedef unsigned long long __u64;
 
 #ifdef __LP64__
 #define BITS_PER_LONG 64
+#define SHIFT_PER_LONG 6
 #else
 #define BITS_PER_LONG 32
+#define SHIFT_PER_LONG 5
 #endif
 
 #ifndef __ASSEMBLY__