[Top] [All Lists]

Re: [PATCH][2.6] add smp.h in processor.h

To: Yoichi Yuasa <>
Subject: Re: [PATCH][2.6] add smp.h in processor.h
From: Ralf Baechle <>
Date: Wed, 7 Jan 2004 06:28:29 +0100
Cc: linux-mips <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.4.1i
On Wed, Jan 07, 2004 at 12:55:09PM +0900, Yoichi Yuasa wrote:

> I made a patch for header file of 2.6.
> smp_processor_id() is defined in smp.h.
> We need adding #include <linux/smp.h> in processor.h.

<linux/smp.h> pulls in a fairly large number of other header files which
is why no Linux architecture includes <linux/smp.h> in <asm/processor.h>.
So instead please include the file directly into your code.  In which .c
file you're hitting the problem?


<Prev in Thread] Current Thread [Next in Thread>