• David Woodhouse's avatar
    [PATCH] Fix 'make headers_check' for Alpha · 7f9d77d7
    David Woodhouse authored
    Alpha currently fails 'make headers_check' in the 2.6.18-rc kernels.  This
    patch fixes it, by moving the existing #ifdef __KERNEL__ in asm/page.h so that
    it covers everything that userspace shouldn't so, and by adding asm/compiler.h
    to the list of exported files so that its use within asm/byteorder.h is
    successful.
    
    [ Note that at least with GCC 4, <linux/compiler.h> doesn't do the forced
      inlining about which there are nasty comments (and a workaround) in
      <asm/compiler.h>, unless you set CONFIG_FORCED_INLINING.  Rather than keep
      the mess you have in <asm/compiler.h> you could perhaps just make sure
      CONFIG_FORCED_INLINING=n is also honoured with GCC3, and make sure it cannot
      be set for Alpha? ]
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
    Cc: Richard Henderson <rth@twiddle.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    7f9d77d7
Kbuild 134 Bytes