projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341acbb
)
PPC: Add _GLOBAL_TOC for 32bit
author
Alexander Graf
<agraf@suse.de>
Thu, 26 Jun 2014 11:19:40 +0000
(13:19 +0200)
committer
Alexander Graf
<agraf@suse.de>
Thu, 26 Jun 2014 11:19:42 +0000
(13:19 +0200)
Commit
ac5a8ee8
started using _GLOBAL_TOC on ppc32 code. Unfortunately it's only
defined for 64bit targets though. Define it for ppc32 as well, fixing the build
breakage that commit introduced.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/ppc_asm.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/include/asm/ppc_asm.h
b/arch/powerpc/include/asm/ppc_asm.h
index 9ea266eae33e235cde422eaaf8c86e9fc9275236..7e4612528546b710cb13d7b9346d394d5cd4d99e 100644
(file)
--- a/
arch/powerpc/include/asm/ppc_asm.h
+++ b/
arch/powerpc/include/asm/ppc_asm.h
@@
-277,6
+277,8
@@
n:
.globl n; \
n:
+#define _GLOBAL_TOC(name) _GLOBAL(name)
+
#define _KPROBE(n) \
.section ".kprobes.text","a"; \
.globl n; \