]> err.no Git - linux-2.6/commitdiff
bitops: fix build in struct thread_info
authorIngo Molnar <mingo@elte.hu>
Sat, 17 May 2008 06:28:33 +0000 (08:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 17 May 2008 12:39:31 +0000 (14:39 +0200)
we can move flags from u32 to natural size - assembly code uses
offsetof.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/thread_info.h

index 74481b72ae0f837d26c09282771d4f0ee14e265a..25d7105325612e909c8eac3fcfcdd09883a4cb47 100644 (file)
@@ -24,10 +24,10 @@ struct exec_domain;
 struct thread_info {
        struct task_struct      *task;          /* main task structure */
        struct exec_domain      *exec_domain;   /* execution domain */
-       __u32                   flags;          /* low level flags */
+       unsigned long           flags;          /* low level flags */
        __u32                   status;         /* thread synchronous flags */
        __u32                   cpu;            /* current CPU */
-       int                     preempt_count;  /* 0 => preemptable,
+       int                     preempt_count;  /* 0 => preemptable,
                                                   <0 => BUG */
        mm_segment_t            addr_limit;
        struct restart_block    restart_block;