git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Unify opcode definitions and support
[safe/jmp/linux-2.6]
/
arch
/
powerpc
/
kernel
/
module_64.c
diff --git
a/arch/powerpc/kernel/module_64.c
b/arch/powerpc/kernel/module_64.c
index
8992b03
..
8fbb125
100644
(file)
--- a/
arch/powerpc/kernel/module_64.c
+++ b/
arch/powerpc/kernel/module_64.c
@@
-329,7
+329,7
@@
static unsigned long stub_for_addr(Elf64_Shdr *sechdrs,
restore r2. */
static int restore_r2(u32 *instruction, struct module *me)
{
- if (*instruction != PPC_
NOP_INSTR
) {
+ if (*instruction != PPC_
INST_NOP
) {
printk("%s: Expect noop after relocate, got %08x\n",
me->name, *instruction);
return 0;