microblaze: Fix compilation failure because of release_thread
authorMichal Simek <michal.simek@xilinx.com>
Fri, 28 Feb 2014 13:00:11 +0000 (14:00 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Apr 2014 11:45:18 +0000 (13:45 +0200)
Warning log:
In file included from arch/microblaze/include/asm/thread_info.h:21:0,
                 from include/linux/thread_info.h:54,
                 from include/asm-generic/preempt.h:4,
                 from arch/microblaze/include/generated/asm/preempt.h:1,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/sysfs.h:20,
                 from include/linux/kobject.h:21,
                 from include/linux/device.h:17,
                 from include/linux/node.h:17,
                 from include/linux/cpu.h:16,
                 from arch/microblaze/kernel/process.c:11:
arch/microblaze/include/asm/processor.h:125:20: warning: no previous prototype
for 'release_thread' [-Wmissing-prototypes]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/processor.h

index d6e0ffea28b67d9f1cf43e6608cdc872bba2e49a..9d31b057c3553da4d7f697179ef0c92a4223d5df 100644 (file)
@@ -122,7 +122,7 @@ struct thread_struct {
 }
 
 /* Free all resources held by a thread. */
-extern inline void release_thread(struct task_struct *dead_task)
+static inline void release_thread(struct task_struct *dead_task)
 {
 }
 
This page took 0.047731 seconds and 5 git commands to generate.