git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Dynamically allocate most lppaca structs
[pandora-kernel.git]
/
arch
/
powerpc
/
include
/
asm
/
lppaca.h
diff --git
a/arch/powerpc/include/asm/lppaca.h
b/arch/powerpc/include/asm/lppaca.h
index
6b73554
..
6d02624
100644
(file)
--- a/
arch/powerpc/include/asm/lppaca.h
+++ b/
arch/powerpc/include/asm/lppaca.h
@@
-153,7
+153,7
@@
struct lppaca {
extern struct lppaca lppaca[];
-#define lppaca_of(cpu) (
lppaca[cpu]
)
+#define lppaca_of(cpu) (
*paca[cpu].lppaca_ptr
)
/*
* SLB shadow buffer structure as defined in the PAPR. The save_area