Skip to contentSkip to conversation

Fix BITS_PER_LONG for ppc32

PATCH Applied Denis Kirjanov 2 participants 2 messages Mar 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix BITS_PER_LONG for ppc32

---
 include/arch-ppc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/arch-ppc.h +1 -1
index 8c1a71a..792a54a 100644
@@ -17,7 +17,7 @@
 #define TASK_SIZE 		(PAGE_OFFSET)
 
 #define PAGE_SHIFT		12
-#define BITS_PER_LONG		64
+#define BITS_PER_LONG		32
 #define PTE_RPN_SHIFT		(PAGE_SHIFT)
 #define PTE_FILE_MAX_BITS	(BITS_PER_LONG - PTE_RPN_SHIFT)
 
Signature · 1 line
1.8.0.2
Applied
#1 lore raw

include/arch-ppc.h line 20

Quoted 2 lines · Denis Kirjanov
include/arch-ppc.h +1 -1
-#define BITS_PER_LONG		64
+#define BITS_PER_LONG		32

oops ;)

Thanks, applied.

Dave