lkml.org 
[lkml]   [2008]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [patch] asm-x86/msr.h: pull in linux/types.h
    Date
    On Wednesday 02 January 2008, Ingo Molnar wrote:
    > * Mike Frysinger <vapier@gentoo.org> wrote:
    > > Forgot to mention this before, but since the msr.h header uses types
    > > like __u32, it should pull in linux/types.h.
    >
    > does not build with the attached config.

    sorry, forgot about __ASSEMBLY__ protection.
    ---
    Since the msr.h header uses types like __u32, it should pull in linux/types.h.

    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    ---
    diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h
    index 664a2fa..80b0270 100644
    --- a/include/asm-x86/msr.h
    +++ b/include/asm-x86/msr.h
    @@ -3,6 +3,10 @@

    #include <asm/msr-index.h>

    +#ifndef __ASSEMBLY__
    +# include <linux/types.h>
    +#endif
    +
    #ifdef __i386__

    #ifdef __KERNEL__[unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2008-01-02 14:41    [W:2.724 / U:1.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site