m68k: Avoid CONFIG_COLDFIRE switch in uapi header
authorThomas Huth <thuth@redhat.com>
Fri, 10 Nov 2023 10:31:20 +0000 (11:31 +0100)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 6 May 2024 22:55:23 +0000 (08:55 +1000)
commita5044ce7d1d94cd37be99e86964aa054f7e5564c
treef8be7c797775b4d4e6e0f4134d64bb17a7f0e5f3
parentdd5a440a31fae6e459c0d6271dddd62825505361
m68k: Avoid CONFIG_COLDFIRE switch in uapi header

We should not use any CONFIG switches in uapi headers since
these only work during kernel compilation. They are not defined
for userspace. Let's use the __mcoldfire__ switch from the
compiler here instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/include/uapi/asm/ptrace.h
scripts/headers_install.sh