Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ulrich Eckhardt <eckhardt@satorlaser.com>
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
Subject: [patch] add missing declaration of smp_processor_id
Date: Mon, 18 Apr 2005 11:46:26 +0200	[thread overview]
Message-ID: <200504181146.26588.eckhardt@satorlaser.com> (raw)

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)

             reply	other threads:[~2005-04-18  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18  9:46 Ulrich Eckhardt [this message]
2005-04-18 10:40 ` [patch] add missing declaration of smp_processor_id Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504181146.26588.eckhardt@satorlaser.com \
    --to=eckhardt@satorlaser.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox