]> www.infradead.org Git - users/jedix/linux-maple.git/commit
alpha: no need to include asm/xchg.h twice
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Apr 2024 21:43:37 +0000 (17:43 -0400)
committerArnd Bergmann <arnd@arndb.de>
Mon, 19 Aug 2024 07:45:27 +0000 (09:45 +0200)
commit7193b5c4758368c3a0de0cf4fa54bc8697caaf86
tree99dd4c2c4a317176e38c85037b5d589e0da556bb
parent47ac09b91befbb6a235ab620c32af719f8208399
alpha: no need to include asm/xchg.h twice

We used to generate different helpers for local and full
{cmp,}xchg(); these days the barriers are in arch_{cmp,}xchg()
instead and generated helpers are identical for local and
full cases.  No need for those parametrized includes of
asm/xchg.h - we might as well insert its contents directly
in asm/cmpxchg.h and do it only once.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/include/asm/cmpxchg.h
arch/alpha/include/asm/xchg.h [deleted file]