diff options
author | Thomas Huth <thuth@redhat.com> | 2023-04-26 08:50:32 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:18:50 -0700 |
commit | 9702a046c2617b589dda7edac5b15e754315df3e (patch) | |
tree | 3803142de063aa5bd567e16dc0ed67d0c460596d /ipc/sem.c | |
parent | ae96e0cdc78c816b93f9617d65d144162692c09c (diff) | |
download | lwn-9702a046c2617b589dda7edac5b15e754315df3e.tar.gz lwn-9702a046c2617b589dda7edac5b15e754315df3e.zip |
arch/ia64/include: remove CONFIG_IA64_DEBUG_CMPXCHG from uapi header
CONFIG_* switches should not be exposed in uapi headers. The macros that
are defined here are also only useful for the kernel code, so let's move
them to asm/cmpxchg.h instead.
The only two files that are using these macros are the headers
arch/ia64/include/asm/bitops.h and arch/ia64/include/asm/atomic.h and
these include asm/cmpxchg.h via asm/intrinsics.h, so this movement should
not cause any trouble.
Link: https://lkml.kernel.org/r/20230426065032.517693-1-thuth@redhat.com
Signed-off-by: Thomas Huth <thuth@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions