Subject: [patch] add missing declaration of smp_processor_id

From: Ulrich Eckhardt <[email-masked]>
Date: Mon, 18 Apr 2005 11:46:26 +0200

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)

---

From: Ralf Baechle <[email-masked]>
Date: Mon, 18 Apr 2005 11:40:48 +0100

> The missing declaration leads to warnings during compilation for Alchemy 

Applied,

  Ralf