]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-sh/thread_info.h
Merge master.kernel.org:/home/rmk/linux-2.6-i2c manually
[karo-tx-linux.git] / include / asm-sh / thread_info.h
index d82f883d8e6d3b68fe571b724103a528eb7f4fbc..46080cefaff896d12e867f76976e7894b84b88fa 100644 (file)
@@ -20,14 +20,14 @@ struct thread_info {
        struct exec_domain      *exec_domain;   /* execution domain */
        __u32                   flags;          /* low level flags */
        __u32                   cpu;
-       __s32                   preempt_count; /* 0 => preemptable, <0 => BUG */
+       int                     preempt_count; /* 0 => preemptable, <0 => BUG */
        struct restart_block    restart_block;
        __u8                    supervisor_stack[0];
 };
 
 #endif
 
-#define PREEMPT_ACTIVE         0x4000000
+#define PREEMPT_ACTIVE         0x10000000
 
 /*
  * macros/functions for gaining access to the thread information structure