|
@@ -1038,9 +1038,6 @@ static int do_setcontext_tm(struct ucontext __user *ucp,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-#pragma GCC diagnostic push
|
|
|
-#pragma GCC diagnostic ignored "-Wpragmas"
|
|
|
-#pragma GCC diagnostic ignored "-Wattribute-alias"
|
|
|
#ifdef CONFIG_PPC64
|
|
|
COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx,
|
|
|
struct ucontext __user *, new_ctx, int, ctx_size)
|
|
@@ -1134,7 +1131,6 @@ SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx,
|
|
|
set_thread_flag(TIF_RESTOREALL);
|
|
|
return 0;
|
|
|
}
|
|
|
-#pragma GCC diagnostic pop
|
|
|
|
|
|
#ifdef CONFIG_PPC64
|
|
|
COMPAT_SYSCALL_DEFINE0(rt_sigreturn)
|
|
@@ -1231,9 +1227,6 @@ SYSCALL_DEFINE0(rt_sigreturn)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-#pragma GCC diagnostic push
|
|
|
-#pragma GCC diagnostic ignored "-Wpragmas"
|
|
|
-#pragma GCC diagnostic ignored "-Wattribute-alias"
|
|
|
#ifdef CONFIG_PPC32
|
|
|
SYSCALL_DEFINE3(debug_setcontext, struct ucontext __user *, ctx,
|
|
|
int, ndbg, struct sig_dbg_op __user *, dbg)
|
|
@@ -1337,7 +1330,6 @@ SYSCALL_DEFINE3(debug_setcontext, struct ucontext __user *, ctx,
|
|
|
return 0;
|
|
|
}
|
|
|
#endif
|
|
|
-#pragma GCC diagnostic pop
|
|
|
|
|
|
/*
|
|
|
* OK, we're invoking a handler
|