sparc: fix sparse warnings in cpu_*.c
o declare variables from cpu_*.c o declare function from cpu_32.c To do this introduce a new header "kernel.h" which is local to kernel/ Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7e7e93a228
commit
53ae341926
8
arch/sparc/kernel/kernel.h
Normal file
8
arch/sparc/kernel/kernel.h
Normal file
@@ -0,0 +1,8 @@
|
||||
/* cpu.c */
|
||||
extern const char *sparc_cpu_type;
|
||||
extern const char *sparc_fpu_type;
|
||||
|
||||
extern unsigned int fsr_storage;
|
||||
|
||||
extern void cpu_probe(void);
|
||||
|
||||
Reference in New Issue
Block a user