| Submitter | Christian Kujau |
|---|---|
| Date | Sept. 4, 2012, 9:32 a.m. |
| Message ID | <alpine.DEB.2.01.1209040223380.25392@trent.utfs.org> |
| Download | mbox | patch |
| Permalink | /patch/181534/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
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;