The problem is a circular include reference.
Specifically, linux/sched.h eventually causes us to
include asm/string.h, where we have:
#ifdef CONFIG_X86_USE_3DNOW
/* All this just for in_interrupt() ... */
#include <asm/system.h>
#include <asm/ptrace.h>
#include <linux/smp.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <asm/mmx.h>
The include of interrupt.h is what causes us to ultimately include
asm/hw_irq.h, which breaks because of the inline x86_do_profile(),
which refers to prof_buffer, prof_len, and prof_shift, which are
declared in sched.h starting at line 491.
Arrgh.
-- Phil DeBecker"Give me a lever long enough, and a place to stand, and I'll break the lever."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:19 EST