linux/arch/um/include
Peter Foley 2f2be51024 um: Make the definition of cpu_data more compatible
Match the x86 implementation to improve build errors.
Noticed when building allyesconfig.

e.g.
../arch/um/include/asm/processor-generic.h:94:19: error: called object is not a function or function pointer
   94 | #define cpu_data (&boot_cpu_data)
      |                  ~^~~~~~~~~~~~~~~
../drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2157:16: note: in expansion of macro ‘cpu_data’
 2157 |         return cpu_data(first_cpu_of_numa_node).apicid;

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2023-02-10 21:36:58 +01:00
..
asm um: Make the definition of cpu_data more compatible 2023-02-10 21:36:58 +01:00
linux um: virtio/pci: enable suspend/resume 2021-06-17 21:45:44 +02:00
shared This pull request contains the following changes for UML: 2022-08-05 14:03:11 -07:00
uapi/asm um: Fix W=1 missing-include-dirs warnings 2021-04-15 23:10:57 +02:00