diff options
| author | Tanzir Hasan <[email protected]> | 2023-12-26 18:00:00 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-02-01 17:47:59 +0000 |
| commit | 66a5c40f60f5d88ad8d47ba6a4ba05892853fa1f (patch) | |
| tree | 63ee4c0ec6e43b5890cd0e0f168f8100e254c5b3 /lib/string.c | |
| parent | lkdtm/bugs: In lkdtm_HUNG_TASK() use BUG(), not BUG_ON(1) (diff) | |
| download | kernel-66a5c40f60f5d88ad8d47ba6a4ba05892853fa1f.tar.gz kernel-66a5c40f60f5d88ad8d47ba6a4ba05892853fa1f.zip | |
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 <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Tanzir Hasan <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
