X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-parisc%2Ftypes.h;h=d4aa33033d98d334d2b28d977e3f17355eccb3d1;hb=62d909ced019bcae75402578d5dab4522e959823;hp=d21b9d0d63eabc37485671c951a7fc2dee470775;hpb=64e47488c913ac704d465a6af86a26786d1412a5;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-parisc/types.h b/include/asm-parisc/types.h index d21b9d0d63e..d4aa33033d9 100644 --- a/include/asm-parisc/types.h +++ b/include/asm-parisc/types.h @@ -31,10 +31,12 @@ typedef unsigned long long __u64; */ #ifdef __KERNEL__ -#ifdef __LP64__ +#ifdef CONFIG_64BIT #define BITS_PER_LONG 64 +#define SHIFT_PER_LONG 6 #else #define BITS_PER_LONG 32 +#define SHIFT_PER_LONG 5 #endif #ifndef __ASSEMBLY__