Tanzir Hasan 66a5c40f60 kernel.h: removed REPEAT_BYTE from kernel.h
This patch creates wordpart.h and includes it in asm/word-at-a-time.h
for all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h
because of REPEAT_BYTE. Moving this to another header and including it
where necessary allows us to not include the bloated kernel.h. Making
this implicit dependency on REPEAT_BYTE explicit allows for later
improvements in the lib/string.c inclusion list.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231226-libstringheader-v6-1-80aa08c7652c@google.com
Signed-off-by: Kees Cook <keescook@chromium.org>
2024-02-01 09:47:59 -08:00
..
2024-01-25 18:23:10 +01:00
2024-01-19 09:10:23 -08:00
2024-01-11 11:42:53 -08:00
2023-07-21 10:01:47 -07:00
2024-01-17 11:34:45 -08:00
2023-08-12 10:30:59 +02:00
2023-06-29 15:28:33 -07:00
2023-07-19 06:29:04 +00:00
2023-08-12 10:30:59 +02:00
2024-01-11 11:42:53 -08:00
2023-08-12 10:31:00 +02:00
2023-08-12 10:31:00 +02:00
2023-10-31 17:21:54 -10:00
2023-08-30 16:49:40 -07:00
2023-08-12 10:30:59 +02:00
2024-01-18 15:16:57 -08:00
2024-01-09 12:57:46 -08:00
2024-01-17 11:34:45 -08:00