summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-12-25 13:04:03 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2016-12-25 13:04:03 -0500
commitdb1b0d34612ecbf8ec8e5ec56375e47f0f40c26e (patch)
treeee5c9707a4fbc0351a6bad17223bcc0960d9e799
parent6ffa7dcb21f347ea5f11adb9e1249058d06c2708 (diff)
download4.9-rt-patches-db1b0d34612ecbf8ec8e5ec56375e47f0f40c26e.tar.gz
signal-rt-fix: trivial context refreshrt-v4.8-773-g8e4ef6386703
-rw-r--r--patches/oleg-signal-rt-fix.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/oleg-signal-rt-fix.patch b/patches/oleg-signal-rt-fix.patch
index 192679b97356a..e32175017034a 100644
--- a/patches/oleg-signal-rt-fix.patch
+++ b/patches/oleg-signal-rt-fix.patch
@@ -38,7 +38,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
-@@ -155,6 +155,13 @@ static void exit_to_usermode_loop(struct
+@@ -148,6 +148,13 @@ static void exit_to_usermode_loop(struct
if (cached_flags & _TIF_NEED_RESCHED)
schedule();
@@ -54,9 +54,9 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/arch/x86/include/asm/signal.h
+++ b/arch/x86/include/asm/signal.h
-@@ -23,6 +23,19 @@ typedef struct {
- unsigned long sig[_NSIG_WORDS];
- } sigset_t;
+@@ -27,6 +27,19 @@ typedef struct {
+ #define SA_IA32_ABI 0x02000000u
+ #define SA_X32_ABI 0x01000000u
+/*
+ * Because some traps use the IST stack, we must keep preemption
@@ -76,7 +76,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
#endif
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1670,6 +1670,10 @@ struct task_struct {
+@@ -1695,6 +1695,10 @@ struct task_struct {
sigset_t blocked, real_blocked;
sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
struct sigpending pending;