Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [patch] add missing declaration of smp_processor_id
@ 2005-04-18  9:46 Ulrich Eckhardt
  2005-04-18 10:40 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Eckhardt @ 2005-04-18  9:46 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] add missing declaration of smp_processor_id
  2005-04-18  9:46 [patch] add missing declaration of smp_processor_id Ulrich Eckhardt
@ 2005-04-18 10:40 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-04-18 10:40 UTC (permalink / raw)
  To: Ulrich Eckhardt; +Cc: linux-mips

On Mon, Apr 18, 2005 at 11:46:26AM +0200, Ulrich Eckhardt wrote:

> The missing declaration leads to warnings during compilation for Alchemy 
> boards.

Applied,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-18 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-18  9:46 [patch] add missing declaration of smp_processor_id Ulrich Eckhardt
2005-04-18 10:40 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox