Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=df0f65f02a55888feae52a7e7d59d29f5edd400d
Commit:     df0f65f02a55888feae52a7e7d59d29f5edd400d
Parent:     f94d1d3a1df125461a16b2888eca46d64f113e3a
Author:     Mathieu Desnoyers <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 7 00:16:18 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Feb 7 08:42:32 2008 -0800

    m32r: build fix of arch/m32r/kernel/smpboot.c
    
    This patch is for Mathieu Desnoyers's include/asm-m32r/local.h.
    Applying the new include/asm-m32r/local.h, inclusion of linux/sched.h
    is needed to fix a build error of arch/m32r/kernel/smpboot.c.
    
    <--  snip  -->
      ...
      CC      arch/m32r/kernel/smpboot.o
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c: 
In function 'do_boot_cpu':
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:279:
 error: implicit declaration of function 'fork_idle'
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:279:
 warning: assignment makes pointer from integer without a cast
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:283:
 error: dereferencing pointer to incomplete type
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:289:
 error: dereferencing pointer to incomplete type
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:290:
 error: implicit declaration of function 'task_thread_info'
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:290:
 error: invalid type argument of '->'
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c: 
In function 'start_secondary':
    
/project/m32r-linux/kernel/work/linux-2.6_dev.git/arch/m32r/kernel/smpboot.c:429:
 error: implicit declaration of function 'cpu_init'
    make[2]: *** [arch/m32r/kernel/smpboot.o] Error 1
    <--  snip  -->
    
    Signed-off-by: Hirokazu Takata <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/m32r/kernel/smpboot.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index 0e383da..2c03ac1 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -43,6 +43,7 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
+#include <linux/sched.h>
 #include <linux/err.h>
 #include <linux/irq.h>
 #include <linux/bootmem.h>
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to