Re: include/asm-sparc/ptrace.h is broken

David S. Miller (davem@redhat.com)
Thu, 31 May 2001 20:08:34 -0700 (PDT)


Felix von Leitner writes:
> on line 76, it includes <asm/asm_offsets.h>, which does not exist.
>
> This is critical because this include file does not work when used from
> a libc. ptrace.h is from 1997 on my 2.4.5 kernel, so this is not
> something that broke recently.
>
> My suggestion is to remove the offending line altogether or at least
> protect it with #ifdef __KERNEL__.

Just like other headers in the kernel (such as linux/autoconfig.h)
they do not exist until the kernel is configured and built.

include asm-sparc{,64}/asm_offsets.h is built at kernel build time.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/