Commit 98f07013 authored by Russell King's avatar Russell King
Browse files

Merge branch 'devel-stable' into for-next

parents 53f1d9af 98775936
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -13,6 +13,7 @@


#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/kprobes.h>
#include <asm/opcodes.h>


#include "kprobes.h"
#include "kprobes.h"


@@ -153,7 +154,8 @@ kprobe_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi,


	if (handler) {
	if (handler) {
		/* We can emulate the instruction in (possibly) modified form */
		/* We can emulate the instruction in (possibly) modified form */
		asi->insn[0] = (insn & 0xfff00000) | (rn << 16) | reglist;
		asi->insn[0] = __opcode_to_mem_arm((insn & 0xfff00000) |
						   (rn << 16) | reglist);
		asi->insn_handler = handler;
		asi->insn_handler = handler;
		return INSN_GOOD;
		return INSN_GOOD;
	}
	}
Loading