From: Vyacheslav Cherkashin Date: Wed, 10 Apr 2013 09:39:00 +0000 (+0400) Subject: [REFACTOR] remove don't used definition ARCH_REG_VAL X-Git-Tag: Tizen_SDK_2.3~557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=287ca9c25352ffd8e7f242d7884ba7b8515da455;p=kernel%2Fswap-modules.git [REFACTOR] remove don't used definition ARCH_REG_VAL --- diff --git a/driver/us_proc_inst.c b/driver/us_proc_inst.c index f09c046..4d13f45 100644 --- a/driver/us_proc_inst.c +++ b/driver/us_proc_inst.c @@ -48,15 +48,6 @@ mmput(mm); \ } -#if defined(CONFIG_MIPS) -# define ARCH_REG_VAL(regs, idx) regs->regs[idx] -#elif defined(CONFIG_ARM) -# define ARCH_REG_VAL(regs, idx) regs->uregs[idx] -#else -# define ARCH_REG_VAL(regs, idx) 0 -# warning ARCH_REG_VAL is not implemented for this architecture. FBI will work improperly or even crash!!! -#endif // ARCH - unsigned long ujprobe_event_pre_handler (struct us_ip *ip, struct pt_regs *regs); void ujprobe_event_handler (unsigned long arg1, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5, unsigned long arg6); int uretprobe_event_handler(struct uretprobe_instance *probe, struct pt_regs *regs, struct us_ip *ip);