projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853944c
)
[S390] Avoid compile warning.
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Thu, 10 May 2007 13:45:48 +0000
(15:45 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 10 May 2007 13:45:53 +0000
(15:45 +0200)
arch/s390/mm/fault.c: In function `signal_return':
arch/s390/mm/fault.c:256: warning: unused variable `compat'
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/mm/fault.c
b/arch/s390/mm/fault.c
index 8b924b359774a40abb9042c2737b5ac9f6c637a2..d855cdbf8fb86b6b96d6e89b0090c95fc243a06c 100644
(file)
--- a/
arch/s390/mm/fault.c
+++ b/
arch/s390/mm/fault.c
@@
-253,7
+253,10
@@
static int signal_return(struct mm_struct *mm, struct pt_regs *regs,
unsigned long address, unsigned long error_code)
{
u16 instruction;
- int rc, compat;
+ int rc;
+#ifdef CONFIG_COMPAT
+ int compat;
+#endif
pagefault_disable();
rc = __get_user(instruction, (u16 __user *) regs->psw.addr);