Browse Source

microblaze: Fix sparse warning because of missing cpu.h header

Warning:
arch/microblaze/kernel/process.c:164:6: warning: symbol 'arch_cpu_idle'
was not declared. Should it be static?

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 11 years ago
parent
commit
579907e622
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/microblaze/kernel/process.c

+ 1 - 0
arch/microblaze/kernel/process.c

@@ -8,6 +8,7 @@
  * for more details.
  */
 
+#include <linux/cpu.h>
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/pm.h>