projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: misc: phidgetmotorcontrol: clean up urb->status usage
[linux-2.6]
/
include
/
asm-parisc
/
types.h
diff --git
a/include/asm-parisc/types.h
b/include/asm-parisc/types.h
index
d21b9d0
..
d4aa330
100644
(file)
--- 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__