lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 2/9] x86: threadinfo: Common include files
    Move shared includes to a common area in thread_info.h

    Adds asm/types.h for x86_64 and linux/compiler.h for x86_32. Not needed but
    we can avoid some ifdeffing and it simplifies later joining.

    Signed-off-by: Christoph Lameter <clameter@sgi.com>

    ---
    include/asm-x86/thread_info.h | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    Index: linux-2.6/include/asm-x86/thread_info.h
    ===================================================================
    --- linux-2.6.orig/include/asm-x86/thread_info.h 2008-04-28 17:18:24.182686168 -0700
    +++ linux-2.6/include/asm-x86/thread_info.h 2008-04-28 17:19:43.520434319 -0700
    @@ -7,9 +7,11 @@
    #ifndef _ASM_X86_THREAD_INFO_H
    #define _ASM_X86_THREAD_INFO_H

    -#ifdef CONFIG_X86_32
    #include <linux/compiler.h>
    #include <asm/page.h>
    +#include <asm/types.h>
    +
    +#ifdef CONFIG_X86_32

    #ifndef __ASSEMBLY__
    #include <asm/processor.h>
    @@ -192,8 +194,6 @@ static inline struct thread_info *curren

    #else /* X86_32 */

    -#include <asm/page.h>
    -#include <asm/types.h>
    #include <asm/pda.h>

    /*
    --


    \
     
     \ /
      Last update: 2008-04-29 03:57    [W:0.034 / U:216.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site