Files
kernel_xiaomi_sm8250/include/linux
Yury Norov 9af535dc01 uapi: rename ext2_swab() to swab() and share globally in swab.h
[ Upstream commit d5767057c9a76a29f073dad66b7fa12a90e8c748 ]

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: Sasha Levin <sashal@kernel.org>
2020-04-17 10:48:43 +02:00
..
2019-12-13 08:51:18 +01:00
2019-12-17 20:35:45 +01:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2019-11-24 08:19:14 +01:00
2020-03-25 08:06:14 +01:00
2020-03-25 08:06:14 +01:00
2019-05-31 06:46:18 -07:00
2019-10-17 13:45:42 -07:00
2019-12-13 08:52:43 +01:00
2019-12-31 16:35:38 +01:00
2020-03-18 07:14:17 +01:00
2019-06-11 12:20:52 +02:00
2020-04-02 15:28:22 +02:00
2019-04-17 08:38:45 +02:00
2019-06-17 19:51:56 +02:00
2020-03-25 08:06:13 +01:00
2020-04-02 15:28:23 +02:00