projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.infradead.org/users/cbou/battery-2.6.36
[platform/kernel/linux-starfive.git]
/
arch
/
powerpc
/
kernel
/
misc_32.S
diff --git
a/arch/powerpc/kernel/misc_32.S
b/arch/powerpc/kernel/misc_32.S
index
6bbd7a6
..
a7a570d
100644
(file)
--- a/
arch/powerpc/kernel/misc_32.S
+++ b/
arch/powerpc/kernel/misc_32.S
@@
-810,6
+810,9
@@
relocate_new_kernel:
isync
sync
+ mfspr r3, SPRN_PIR /* current core we are running on */
+ mr r4, r5 /* load physical address of chunk called */
+
/* jump to the entry point, usually the setup routine */
mtlr r5
blrl