Message ID | alpine.DEB.2.01.1209040223380.25392@trent.utfs.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/arch/powerpc/lib/code-patching.c b/arch/powerpc/lib/code-patching.c index dd223b3..755b623 100644 --- a/arch/powerpc/lib/code-patching.c +++ b/arch/powerpc/lib/code-patching.c @@ -21,8 +21,8 @@ int patch_instruction(unsigned int *addr, unsigned int instr) int err; err = __put_user(instr, addr); - if (err) - return err; +// if (err) +// return err; asm ("dcbst 0, %0; sync; icbi 0,%0; sync; isync" : : "r" (addr)); return 0;