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

2007-01-14 Thread Bas Zoetekouw
Hi Daniel! You wrote: 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

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

2007-01-14 Thread Daniel Jacobowitz
On Sun, Jan 14, 2007 at 12:33:09PM +0100, Bas Zoetekouw wrote: Hmm, ok, I wasn't aware of that. Could you please add a #warning to that effect in the header? I'm expecting that after etch releases, we'll just be upgrading - it will be a bit traumatic, but it's got to get done :-) -- Daniel

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

2007-01-13 Thread Bas Zoetekouw
Package: linux-kernel-headers Version: 2.6.18-6 Severity: important When including asm/system.h (I need a definition of wmb()), I'm getting this error: | In file included from /usr/include/asm/bitops.h:8, | from /usr/include/linux/bitops.h:9, | from

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

2007-01-13 Thread Daniel Jacobowitz
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