]> git.baikalelectronics.ru Git - kernel.git/commit
linux/types.h: remove unnecessary __bitwise__
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Mar 2022 23:05:29 +0000 (16:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 02:00:33 +0000 (19:00 -0700)
commitdcde58fe2922cb05738e4862deac914b7e604397
tree0fb94304a8486aef10dc11dec92b8e06372b362b
parent22ba0c973fd1394172f272e9bcc134473fbbfc1a
linux/types.h: remove unnecessary __bitwise__

There are no users of "__bitwise__" except the definition of
"__bitwise".  Remove __bitwise__ and define __bitwise directly.

This is a follow-up to a236cf071664 ("linux/types.h: enable endian
checks for all sparse builds").

[akpm@linux-foundation.org: change the tools/include/linux/types.h definition also]

Link: https://lkml.kernel.org/r/20220310220927.245704-2-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/linux/types.h
tools/include/linux/types.h