linux-mips
[Top] [All Lists]

[PATCH] mips: fix compilation of mips-lasat

To: ralf@linux-mips.org
Subject: [PATCH] mips: fix compilation of mips-lasat
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Wed, 12 Aug 2009 23:59:27 +0400
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=aBDF+DAb7xNe1NA4gzl4SXhExo/kp2fM9PkBmQBLCIo=; b=d6l/zi5LDzXH3tqCktkLCn5v9QqUjQohnXxkwiK9I5+P4i2OCzwaLygwN9sv+hBZEe jacWaI6bcHeBpQ8wGKgHlf5Hjveg8iN/5nqPV/JyU5nStmVMnsQ9EbihRjXtS9NRAhTN QUd+jfplibWZwSGLY+WUsE05RFPBsr0xrUQzU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=CyHq966sAE3YWwGu9kOfdjNon2wC9pG+jlcIS9JZE7MOsQNCSe9ZkTRI96vZcAQvfn gmhmF7EVbtT6bJ2FxT9LlGbXQcpiBwd6fvicbgBTJJjPnTdULYTDzqSsMrrbyvSGKYsB aAAAsGSMfN7ZWn/SIaliqoD56PbfGfH9IWE6o=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
Header needed for current_cpu_data which expands to smp_processor_id().
However, linux/smp.h can't be included into asm/cpu-info.h due to
horrible circular dependencies, so plug it here.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 arch/mips/include/asm/lasat/lasat.h |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/mips/include/asm/lasat/lasat.h
+++ b/arch/mips/include/asm/lasat/lasat.h
@@ -227,6 +227,7 @@ extern void lasat_write_eeprom_info(void);
  * It is used for the bit-banging rtc and eeprom drivers */
 
 #include <linux/delay.h>
+#include <linux/smp.h>
 
 /* calculating with the slowest board with 100 MHz clock */
 #define LASAT_100_DIVIDER 20

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