浏览代码

x86: common.c declare idle_regs before they get used

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Jaswinder Singh 17 年之前
父节点
当前提交
8fd329a1ac
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-x86/processor.h

+ 2 - 0
include/asm-x86/processor.h

@@ -155,6 +155,8 @@ static inline int hlt_works(int cpu)
 
 
 extern void cpu_detect(struct cpuinfo_x86 *c);
 extern void cpu_detect(struct cpuinfo_x86 *c);
 
 
+extern struct pt_regs *idle_regs(struct pt_regs *);
+
 extern void early_cpu_init(void);
 extern void early_cpu_init(void);
 extern void identify_boot_cpu(void);
 extern void identify_boot_cpu(void);
 extern void identify_secondary_cpu(struct cpuinfo_x86 *);
 extern void identify_secondary_cpu(struct cpuinfo_x86 *);