lkml.org 
[lkml]   [2000]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can't compile 2.3.48 with Athlon Processor Family
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.099 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site