mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sparc: fix a building error reported by kbuild
>> arch/sparc/include/asm/topology_64.h:44:44:
error: implicit declaration of function 'cpu_data'
[-Werror=implicit-function-declaration]
#define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
^
Let's include cpudata.h in topology_64.h.
Cc: Sam Ravnborg <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: [email protected]
Suggested-by: Sam Ravnborg <[email protected]>
Signed-off-by: Gonglei <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
acff7fdbc3
commit
541cc39433
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#ifdef CONFIG_NUMA
|
||||
|
||||
#include <asm/mmzone.h>
|
||||
#include <asm/cpudata.h>
|
||||
|
||||
static inline int cpu_to_node(int cpu)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue