lkml.org 
[lkml]   [2009]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [git pull -tip] headers_check fixes for other architectures
    From
    Date
    On Fri, 2009-02-06 at 14:21 +0000, Russell King - ARM Linux wrote:
    > On Fri, Feb 06, 2009 at 07:48:42PM +0530, Jaswinder Singh Rajput wrote:
    > > diff --git a/include/linux/types.h b/include/linux/types.h
    > > index 712ca53..c30973a 100644
    > > --- a/include/linux/types.h
    > > +++ b/include/linux/types.h
    > > @@ -1,6 +1,7 @@
    > > #ifndef _LINUX_TYPES_H
    > > #define _LINUX_TYPES_H
    > >
    > > +#ifndef __ASSEMBLY__
    > > #ifdef __KERNEL__
    > >
    > > #define DECLARE_BITMAP(name,bits) \
    > > @@ -212,5 +213,5 @@ struct ustat {
    > > };
    > >
    > > #endif /* __KERNEL__ */
    > > -
    > > +#endif /* __ASSEMBLY__ */
    > > #endif /* _LINUX_TYPES_H */
    >
    > So no point including this file in assembly with this patch - the ifndef
    > disables the entire file.

    Truth Table of linux/types.h :

    If Assembly then N
    otherwise Y

    what your table says.

    --
    JSR



    \
     
     \ /
      Last update: 2009-02-06 15:37    [W:3.900 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site