]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
loongarch, um, xtensa: get rid of generated arch/$ARCH/include/asm/param.h
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 2 Dec 2024 00:46:43 +0000 (19:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 25 Jun 2025 02:02:05 +0000 (22:02 -0400)
For loongarch and xtensa that gets them to do what x86 et.al. are
doing - have asm/param.h resolve to uapi variant, which is generated
by mandatory-y += param.h and contains exact same include.

On um it will resolve to x86 uapi variant instead, which also contains
the same include (um doesn't have uapi headers, but it does build the
host ones).

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/loongarch/include/asm/Kbuild
arch/um/include/asm/Kbuild
arch/xtensa/include/asm/Kbuild

index 80ddb5edb8455ce206fe1c67c3156c486c07b892..b04d2cef935f6df69aaa467da3a8ba1e6ffe2446 100644 (file)
@@ -10,5 +10,4 @@ generic-y += user.h
 generic-y += ioctl.h
 generic-y += mmzone.h
 generic-y += statfs.h
-generic-y += param.h
 generic-y += text-patching.h
index 04ab3b653a487f99700bb0f92f9ddfa01adc0352..b6810db24ca4d3b38fdb8ebcebc0784cf688439b 100644 (file)
@@ -15,7 +15,6 @@ generic-y += mcs_spinlock.h
 generic-y += mmiowb.h
 generic-y += module.h
 generic-y += module.lds.h
-generic-y += param.h
 generic-y += parport.h
 generic-y += percpu.h
 generic-y += preempt.h
index cc5dba738389c371645133c0c1ea496b55df95fb..13fe45dea296146afb3abf79b12d70f66a007586 100644 (file)
@@ -3,7 +3,6 @@ generated-y += syscall_table.h
 generic-y += extable.h
 generic-y += kvm_para.h
 generic-y += mcs_spinlock.h
-generic-y += param.h
 generic-y += parport.h
 generic-y += qrwlock.h
 generic-y += qspinlock.h