diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2010-07-22 08:18:19 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-27 05:48:34 -0400 |
commit | 6338a6aa7c082f11d55712251e14178c68bf5869 (patch) | |
tree | 4d85f1401efd41757741388e4b6a3801fa8d4d8b /arch/arm/include | |
parent | 3dc91aff9c3ef54b15cdaf32f61f973489fe69eb (diff) |
ARM: 6269/1: Add 'code' parameter for hook_fault_code()
Add one more parameter to hook_fault_code() to be able to set 'code'
field of struct fsr_info.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index 5f4f48002734..8ba1ccf82a02 100644 --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h | |||
@@ -83,7 +83,7 @@ void arm_notify_die(const char *str, struct pt_regs *regs, struct siginfo *info, | |||
83 | 83 | ||
84 | void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, | 84 | void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, |
85 | struct pt_regs *), | 85 | struct pt_regs *), |
86 | int sig, const char *name); | 86 | int sig, int code, const char *name); |
87 | 87 | ||
88 | #define xchg(ptr,x) \ | 88 | #define xchg(ptr,x) \ |
89 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) | 89 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) |