mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
[S390] Avoid compile warning.
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>
This commit is contained in:
parent
853944cc40
commit
490f03d659
1 changed files with 4 additions and 1 deletions
|
@ -253,7 +253,10 @@ static int signal_return(struct mm_struct *mm, struct pt_regs *regs,
|
||||||
unsigned long address, unsigned long error_code)
|
unsigned long address, unsigned long error_code)
|
||||||
{
|
{
|
||||||
u16 instruction;
|
u16 instruction;
|
||||||
int rc, compat;
|
int rc;
|
||||||
|
#ifdef CONFIG_COMPAT
|
||||||
|
int compat;
|
||||||
|
#endif
|
||||||
|
|
||||||
pagefault_disable();
|
pagefault_disable();
|
||||||
rc = __get_user(instruction, (u16 __user *) regs->psw.addr);
|
rc = __get_user(instruction, (u16 __user *) regs->psw.addr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue