]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc64: restore TIF_FREEZE flag for sparc
authorAllen Pais <allen.pais@oracle.com>
Sun, 17 May 2015 14:43:59 +0000 (20:13 +0530)
committerAllen Pais <allen.pais@oracle.com>
Wed, 9 Sep 2015 18:44:01 +0000 (00:14 +0530)
Re-add TIF_FREEZE to allow Ksplice to freeze threads.

Signed-off-by: Allen Pais <allen.pais@oracle.com>
(cherry picked from commit 5f6738f567fa45a8a4083e34c29740015eb2b084)

arch/sparc/include/asm/thread_info_32.h
arch/sparc/include/asm/thread_info_64.h

index 229475f0d7ce0a700619848c9525d2c24e77d591..45bf17cd0e407edc40b901cff255fd89ef43abd6 100644 (file)
@@ -111,7 +111,7 @@ register struct thread_info *current_thread_info_reg asm("g6");
 #define TIF_POLLING_NRFLAG     9       /* true if poll_idle() is polling
                                         * TIF_NEED_RESCHED */
 #define TIF_MEMDIE             10      /* is terminating due to OOM killer */
-
+#define TIF_FREEZE              11      /* is freezing for suspend *
 /* as above, but as bit values */
 #define _TIF_SYSCALL_TRACE     (1<<TIF_SYSCALL_TRACE)
 #define _TIF_NOTIFY_RESUME     (1<<TIF_NOTIFY_RESUME)
index bde59825d06c8c1bfbcb49991c1c23cbb8300587..3bf3f9605fb31f6cb7030c0d516df9e4a279f979 100644 (file)
@@ -193,6 +193,7 @@ register struct thread_info *current_thread_info_reg asm("g6");
 /* flag bit 12 is available */
 #define TIF_MEMDIE             13      /* is terminating due to OOM killer */
 #define TIF_POLLING_NRFLAG     14
+#define TIF_FREEZE              15      /* is freezing for suspend */
 
 #define _TIF_SYSCALL_TRACE     (1<<TIF_SYSCALL_TRACE)
 #define _TIF_NOTIFY_RESUME     (1<<TIF_NOTIFY_RESUME)