From: Allen Pais Date: Sun, 17 May 2015 14:43:59 +0000 (+0530) Subject: sparc64: restore TIF_FREEZE flag for sparc X-Git-Tag: v4.1.12-92~283^2^2~17 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b86db80cd715e48d0d81a44a572a435bdeddfdcf;p=users%2Fjedix%2Flinux-maple.git 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) --- 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<