projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e093ea
)
[FIX] For linux-3.0
author
Alexander Aksenov
<a.aksenov@samsung.com>
Mon, 15 Jul 2013 13:10:06 +0000
(17:10 +0400)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Mon, 15 Jul 2013 13:10:06 +0000
(17:10 +0400)
kprobe/dbi_kprobes.h
patch
|
blob
|
history
diff --git
a/kprobe/dbi_kprobes.h
b/kprobe/dbi_kprobes.h
index
1de941b
..
aee368d
100644
(file)
--- a/
kprobe/dbi_kprobes.h
+++ b/
kprobe/dbi_kprobes.h
@@
-60,6
+60,14
@@
#include <asm/dbi_kprobes.h>
+
+#ifdef CONFIG_ARM
+
+#define regs_return_value(regs) ((regs)->ARM_r0)
+
+#endif
+
+
/* kprobe_status settings */
#define KPROBE_HIT_ACTIVE 0x00000001
#define KPROBE_HIT_SS 0x00000002