Bug#252338: /usr/include/asm/system.h: asm/system.h: missing include file on amd64
On Fri, Jun 04, 2004 at 03:59:37PM +0200, Goswin von Brederlow wrote:
> Daniel Jacobowitz <dan@debian.org> writes:
>
> > On Wed, Jun 02, 2004 at 07:43:11PM +0000, Goswin von Brederlow wrote:
> >> Package: linux-kernel-headers
> >> Version: 2.5.999-test7-bk-15.amd64.1.0.1
> >> Severity: normal
> >> File: /usr/include/asm/system.h
> >>
> >> Hi,
> >>
> >> the asm/system.h file fails because LOCK_PREFIX is undefined. On i386 this
> >> is set by
> >>
> >> #include <linux/bitops.h> /* for LOCK_PREFIX */
> >>
> >> on amd64 it is set directly in asm/system.h but only inside
> >> #ifdef __KERNEL__, but it is used outside the ifdef.
> >
> > What is including <asm/system.h>?
> >
> > --
> > Daniel Jacobowitz
>
> Amiga-fdisk is doing so directly.
For what reason? To get what?
We do not support including arbitrary kernel headers. Some of the ones
under linux/ are accepted as userspace interfaces. Others are included
by glibc. But the reset we try not to fix for userspace use; copy out
what you need.
--
Daniel Jacobowitz
Reply to: