[lkml]   [2009]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 17/39] kbuild: fix header export when __ASSEMBLY__ is used
    On Friday 05 June 2009 11:42:35 pm Sam Ravnborg wrote:
    > Because it does not know __ASSEMBLY__ it does not
    > detect that htis is not for userspace.
    > This caused too much code to be exported, and headers_check barfed
    > over this code.
    > For arm this fixes following "make headers_check" warning:
    > /usr/include/asm/hwcap.h:29: extern's make no sense in userspace

    Are you sure that this is safe for all user space? If a user application
    for instance includes asm/signal.h or asm/types.h from assembly (for
    whatever reason), it now breaks.

    I can't think of a good reason why anyone would do such a thing,
    but it used to be possible.

    Arnd <><

     \ /
      Last update: 2009-06-06 02:43    [W:0.115 / U:21.284 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site