]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: don't generate asm/bpf_perf_event.h
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 May 2024 17:13:55 +0000 (17:13 +0000)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Jul 2024 12:23:30 +0000 (14:23 +0200)
commit0dd0e9437f8e500a384f12ec16bb407a49676147
treef06caeb67285b6f4cdfb258d42ea0da4306e6aa1
parented8023ae9d79eeebf694751d5c290b72ef871dc0
um: don't generate asm/bpf_perf_event.h

If we start validating the existence of the asm-generic side of
generated headers, this one causes a warning:

make[3]: *** No rule to make target 'arch/um/include/generated/asm/bpf_perf_event.h', needed by 'all'.  Stop.

The problem is that the asm-generic header only exists for the uapi
variant, but arch/um has no uapi headers and instead uses the x86
userspace API.

Add a custom file with an explicit redirect to avoid this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/um/include/asm/Kbuild
arch/um/include/asm/bpf_perf_event.h [new file with mode: 0644]