]> err.no Git - linux-2.6/blobdiff - include/asm-m32r/thread_info.h
Merge branch 'master'
[linux-2.6] / include / asm-m32r / thread_info.h
index 9f3a0fcf6e2b6ef350d1394fc96b6c85311e7510..0f589363f619cd6f26e08d668e0de604dd7cd6eb 100644 (file)
@@ -28,7 +28,7 @@ struct thread_info {
        unsigned long           flags;          /* low level flags */
        unsigned long           status;         /* thread-synchronous flags */
        __u32                   cpu;            /* current CPU */
-       __s32                   preempt_count; /* 0 => preemptable, <0 => BUG */
+       int                     preempt_count;  /* 0 => preemptable, <0 => BUG */
 
        mm_segment_t            addr_limit;     /* thread address space:
                                                   0-0xBFFFFFFF for user-thread
@@ -95,7 +95,7 @@ static inline struct thread_info *current_thread_info(void)
 }
 
 /* thread information allocation */
-#if CONFIG_DEBUG_STACK_USAGE
+#ifdef CONFIG_DEBUG_STACK_USAGE
 #define alloc_thread_info(tsk)                                 \
        ({                                                      \
                struct thread_info *ret;                        \