Эх сурвалжийг харах

x86: proc.c declare cpuinfo_op before they get used

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Jaswinder Singh 17 жил өмнө
parent
commit
1c6c727d9c

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

@@ -140,6 +140,8 @@ DECLARE_PER_CPU(struct cpuinfo_x86, cpu_info);
 #define current_cpu_data	boot_cpu_data
 #define current_cpu_data	boot_cpu_data
 #endif
 #endif
 
 
+extern const struct seq_operations cpuinfo_op;
+
 static inline int hlt_works(int cpu)
 static inline int hlt_works(int cpu)
 {
 {
 #ifdef CONFIG_X86_32
 #ifdef CONFIG_X86_32