]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc/include/asm/thread_info_32.h
sparc: introduce asm/swab.h
[linux-2.6-omap-h63xx.git] / arch / sparc / include / asm / thread_info_32.h
index 29899fd5b1b228236d3f495c35e16ed511b57cb4..0f7b0e5fb1c79ce1233437a5744a5736d6f91152 100644 (file)
@@ -45,7 +45,7 @@ struct thread_info {
        /* A place to store user windows and stack pointers
         * when the stack needs inspection.
         */
-       struct reg_window       reg_window[NSWINS];     /* align for ldd! */
+       struct reg_window32     reg_window[NSWINS];     /* align for ldd! */
        unsigned long           rwbuf_stkptrs[NSWINS];
        unsigned long           w_saved;
 
@@ -135,6 +135,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
 #define TIF_POLLING_NRFLAG     9       /* true if poll_idle() is polling
                                         * TIF_NEED_RESCHED */
 #define TIF_MEMDIE             10
+#define TIF_FREEZE             11      /* is freezing for suspend */
 
 /* as above, but as bit values */
 #define _TIF_SYSCALL_TRACE     (1<<TIF_SYSCALL_TRACE)
@@ -148,6 +149,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
 #define _TIF_DO_NOTIFY_RESUME_MASK     (_TIF_NOTIFY_RESUME | \
                                         _TIF_SIGPENDING | \
                                         _TIF_RESTORE_SIGMASK)
+#define _TIF_FREEZE            (1<<TIF_FREEZE)
 
 #endif /* __KERNEL__ */