From b86db80cd715e48d0d81a44a572a435bdeddfdcf Mon Sep 17 00:00:00 2001 From: Allen Pais Date: Sun, 17 May 2015 20:13:59 +0530 Subject: [PATCH] sparc64: restore TIF_FREEZE flag for sparc Re-add TIF_FREEZE to allow Ksplice to freeze threads. Signed-off-by: Allen Pais (cherry picked from commit 5f6738f567fa45a8a4083e34c29740015eb2b084) --- arch/sparc/include/asm/thread_info_32.h | 2 +- arch/sparc/include/asm/thread_info_64.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sparc/include/asm/thread_info_32.h b/arch/sparc/include/asm/thread_info_32.h index 229475f0d7ce..45bf17cd0e40 100644 --- a/arch/sparc/include/asm/thread_info_32.h +++ b/arch/sparc/include/asm/thread_info_32.h @@ -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<