]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
uaccess-reimplement-probe_kernel_address-using-probe_kernel_read-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:02:56 +0000 (09:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:02:56 +0000 (09:02 +1100)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/mm/alignment.c

index 00b7f7de28a182c849249a242fb0ecd2d68b09ca..7d5f4c736a16b4c1f514d0c3ce768ede43f4cef1 100644 (file)
@@ -803,7 +803,7 @@ do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
                        }
                }
        } else {
-               fault = probe_kernel_address(instrptr, instr);
+               fault = probe_kernel_address((void *)instrptr, instr);
                instr = __mem_to_opcode_arm(instr);
        }