Re: #ifdef __KERNEL__ in asm-sparc/atomic.h
On Wed, Dec 24, 2003 at 09:28:05PM +1100, Jim Watson wrote:
> Hi,
> in debian linux sparc
>
> in /usr/include/asm-sparc/atomic.h this line prevents being used:
>
> #ifdef __KERNEL__
>
> No such line exists in asm-sparc64/atomic.h
>
> >From google search i see this discussed a couple of years ago in different
> conteaxts, kernel headers should not be used by users, but this is not a
> kernel header?
>
> I would appreciate some comment, i could file a bug, but is this is a bug?
The short answer is that you are not supposed to use kernel headers for
userspace.
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
Reply to: