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 80ddb5e..b04d2ce 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 04ab3b6..b6810db 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 cc5dba7..13fe45d 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