[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#406744: linux-kernel-headers: __always_inline not defined outside __KERNEL__



On Sat, Jan 13, 2007 at 04:49:18PM +0100, Bas Zoetekouw wrote:
> Package: linux-kernel-headers
> Version: 2.6.18-6
> Severity: important
> 
> When including asm/system.h (I need a definition of wmb()), I'm

Don't do that.

The sanitized kernel headers (make headers_install, in 2.6.19 and
later) do not even install <asm/system.h>.  That is a strong sign
you shouldn't be using it from userspace.

I expect the header will go away in a future Debian version.

-- 
Daniel Jacobowitz
CodeSourcery



Reply to: