diff options
author | Thomas Huth <thuth@redhat.com> | 2023-11-10 11:31:20 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2024-05-07 00:55:23 +0200 |
commit | a5044ce7d1d94cd37be99e86964aa054f7e5564c (patch) | |
tree | f8be7c797775b4d4e6e0f4134d64bb17a7f0e5f3 /arch/m68k | |
parent | Linux 6.9-rc7 (diff) | |
download | linux-a5044ce7d1d94cd37be99e86964aa054f7e5564c.tar.xz linux-a5044ce7d1d94cd37be99e86964aa054f7e5564c.zip |
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/uapi/asm/ptrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/uapi/asm/ptrace.h b/arch/m68k/include/uapi/asm/ptrace.h index 5b50ea592e00..ebd9fccb3d11 100644 --- a/arch/m68k/include/uapi/asm/ptrace.h +++ b/arch/m68k/include/uapi/asm/ptrace.h @@ -39,7 +39,7 @@ struct pt_regs { long d0; long orig_d0; long stkadj; -#ifdef CONFIG_COLDFIRE +#ifdef __mcoldfire__ unsigned format : 4; /* frame format specifier */ unsigned vector : 12; /* vector offset */ unsigned short sr; |