linux-mips
[Top] [All Lists]

[patch] add missing declaration of smp_processor_id

To: linux-mips@linux-mips.org
Subject: [patch] add missing declaration of smp_processor_id
From: Ulrich Eckhardt <eckhardt@satorlaser.com>
Date: Mon, 18 Apr 2005 11:46:26 +0200
Cc: ralf@linux-mips.org
Organization: Sator Laser GmbH
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.7.2
The missing declaration leads to warnings during compilation for Alchemy 
boards.

Changes
 * include <linux/smp.h> because udelay() needs smp_processor_id

cheers

Uli
---

Index: include/asm-mips/delay.h
===================================================================
RCS file: /home/cvs/linux/include/asm-mips/delay.h,v
retrieving revision 1.17
diff -u -w -r1.17 delay.h
--- include/asm-mips/delay.h    13 Apr 2005 13:37:32 -0000      1.17
+++ include/asm-mips/delay.h    18 Apr 2005 09:38:25 -0000
@@ -12,7 +12,7 @@
 
 #include <linux/config.h>
 #include <linux/param.h>
-
+#include <linux/smp.h>
 #include <asm/compiler.h>
 
 static inline void __delay(unsigned long loops)

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