Skip to content

Commit

Permalink
PPC: Add _GLOBAL_TOC for 32bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Graf committed Jun 26, 2014
1 parent 341acbb commit 9715a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/include/asm/ppc_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ GLUE(.,name):
.globl n; \
n:

#define _GLOBAL_TOC(name) _GLOBAL(name)

#define _KPROBE(n) \
.section ".kprobes.text","a"; \
.globl n; \
Expand Down

0 comments on commit 9715a2e

Please sign in to comment.