mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 23:35:16 +07:00
fd250a664d
Fix following sparc32 warning: cpu.c:430:29: warning: symbol 'cpuinfo_op' was not declared. Should it be static? Fix following sparc64 warnings: cpu.c:364:14: warning: symbol 'dcache_parity_tl1_occurred' was not declared. Should it be static? cpu.c:365:14: warning: symbol 'icache_parity_tl1_occurred' was not declared. Should it be static? Rearrange asm/cpu.h to share more stuff between sparc32 and sparc64. Added missing include to cpu.c of kernel.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
19 lines
339 B
C
19 lines
339 B
C
#ifndef ___ASM_SPARC_CPUDATA_H
|
|
#define ___ASM_SPARC_CPUDATA_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
#include <linux/threads.h>
|
|
#include <linux/percpu.h>
|
|
|
|
extern const struct seq_operations cpuinfo_op;
|
|
|
|
#endif /* !(__ASSEMBLY__) */
|
|
|
|
#if defined(__sparc__) && defined(__arch64__)
|
|
#include <asm/cpudata_64.h>
|
|
#else
|
|
#include <asm/cpudata_32.h>
|
|
#endif
|
|
#endif
|