linux-mips
[Top] [All Lists]

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

To: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Subject: Re: [PATCH][2.6] add smp.h in processor.h
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 7 Jan 2004 06:28:29 +0100
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <20040107125509.34cfa9db.yuasa@hh.iij4u.or.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040107125509.34cfa9db.yuasa@hh.iij4u.or.jp>
Sender: linux-mips-bounce@linux-mips.org
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?

  Ralf

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