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

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



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 the header will go away in a future Debian version.

Hmm, ok, I wasn't aware of that.  Could you please add a #warning to
that effect in the header?

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@o2w.nl, bas@debian.org |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Reply to: