Files
kernel_nothing_sm7325/include/uapi/linux
Yury Norov 8b0f080366 uapi: rename ext2_swab() to swab() and share globally in swab.h
commit d5767057c9a76a29f073dad66b7fa12a90e8c748 upstream.

ext2_swab() is defined locally in lib/find_bit.c However it is not
specific to ext2, neither to bitmaps.

There are many potential users of it, so rename it to just swab() and
move to include/uapi/linux/swab.h

ABI guarantees that size of unsigned long corresponds to BITS_PER_LONG,
therefore drop unneeded cast.

Link: http://lkml.kernel.org/r/20200103202846.21616-1-yury.norov@gmail.com
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Cc: Allison Randal <allison@lohutok.net>
Cc: Joe Perches <joe@perches.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-13 10:48:07 +02:00
..
2019-09-19 14:22:44 +02:00
2019-09-25 17:51:39 -07:00
2019-09-16 10:18:01 -04:00
2019-09-18 10:43:22 -06:00
2019-09-23 16:10:28 -05:00
2019-10-02 20:32:27 -06:00
2019-11-05 15:50:14 +01:00
2019-09-16 16:26:11 +02:00
2019-09-18 20:17:50 +02:00