summaryrefslogtreecommitdiff
path: root/uprobe/arch/asm-arm/swap_uprobes.h
diff options
context:
space:
mode:
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-11-06 10:09:33 +0400
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-11-12 17:02:53 +0400
commit4c200caaaba27238f9f90480e87cca0e54f39610 (patch)
treebe710dd9bdc3da811f8397f98014fc047f135c43 /uprobe/arch/asm-arm/swap_uprobes.h
parent5ee9655615c3c3b3542e5792b396339c0930ef16 (diff)
downloadswap-modules-4c200caaaba27238f9f90480e87cca0e54f39610.tar.gz
swap-modules-4c200caaaba27238f9f90480e87cca0e54f39610.tar.bz2
swap-modules-4c200caaaba27238f9f90480e87cca0e54f39610.zip
[PROTO] add return type for exit_event()
Change-Id: I29093f4d50cfb0d84981cee9a65b87b7550dbb25 Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Diffstat (limited to 'uprobe/arch/asm-arm/swap_uprobes.h')
-rw-r--r--uprobe/arch/asm-arm/swap_uprobes.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/uprobe/arch/asm-arm/swap_uprobes.h b/uprobe/arch/asm-arm/swap_uprobes.h
index 2e0dc53b..80ccbdda 100644
--- a/uprobe/arch/asm-arm/swap_uprobes.h
+++ b/uprobe/arch/asm-arm/swap_uprobes.h
@@ -33,12 +33,21 @@
struct kprobe;
-struct pt_regs;
struct task_struct;
struct uprobe;
struct uretprobe;
struct uretprobe_instance;
+static inline u32 swap_get_urp_float(struct pt_regs *regs)
+{
+ return regs->ARM_r0;
+}
+
+static inline u64 swap_get_urp_double(struct pt_regs *regs)
+{
+
+ return regs->ARM_r0 | (u64)regs->ARM_r1 << 32;
+}
static inline void arch_ujprobe_return(void)
{