/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
---
arch/um/include/asm/processor-generic.h | 2 +-
arch/um/kernel/um_arch.c| 2 +-
2 files changed
The manual ld invocation in arch/um/drivers doesn't play nicely with
genksyms. Given the problematic modules are deprecated anyway, just
prevent building them when using MODVERSIONS.
e.g.
MODPOST Module.symvers
arch/um/drivers/.pcap.o.cmd: No such file or directory
---
arch/um/drivers/Kconfig |
link-vmlinux.sh doesn't use LDFLAGS_vmlinux when linking the kernel for
UML. Move the LDFLAGS_EXESTACK options into CFLAGS_vmlinux so they're
actually respected.
e.g.
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: .tmp_vmlinux.kallsyms3.o: missing
Fix some build failures I ran across when trying to build an allyesconfig
kernel for ARCH=um.
To: Richard Weinberger
To: Anton Ivanov
To: Johannes Berg
Cc: linux-um@lists.infradead.org
Cc: linux-ker...@vger.kernel.org
Signed-off-by: Peter Foley
---
Peter Foley (4):
um: Make
Change the function name in pcap_kern to avoid conflicting with
libpcap.a.
e.g.
ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libpcap.a(pcap.o): in
function `pcap_init':
(.text+0x7f0): multiple definition of `pcap_init';
arch/um/drivers/pcap_kern.o:pcap_kern.c:(.text.unlikely+0x0):
Because having them all dumped at top-level is a bit messy.
Signed-off-by: Peter Foley
---
arch/um/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index ad4ff3b0e91e..65bc4c5f2e64 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -242,4
Only a handful of changes are necessary to get it to work.
Signed-off-by: Peter Foley
---
arch/um/Kconfig | 2 ++
arch/um/Makefile | 2 +-
arch/x86/um/vdso/Makefile | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index