Re: [PATCH v3 1/2] kernel.h: removed REPEAT_BYTE from kernel.h

2023-12-19 Thread Andy Shevchenko
On Mon, Dec 18, 2023 at 06:44:47PM +, tanz...@google.com wrote: > This patch creates wordpart.h and includes it in asm/word-at-a-time.h > for the all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h > because of REPEAT_BYTE. Moving this to another header and including it > where nece

Re: [PATCH v3 1/2] kernel.h: removed REPEAT_BYTE from kernel.h

2023-12-18 Thread Greg KH
On Mon, Dec 18, 2023 at 06:44:47PM +, tanz...@google.com wrote: > This patch creates wordpart.h and includes it in asm/word-at-a-time.h > for the all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h > because of REPEAT_BYTE. Moving this to another header and including it > where nece

[PATCH v3 1/2] kernel.h: removed REPEAT_BYTE from kernel.h

2023-12-18 Thread tanzirh
This patch creates wordpart.h and includes it in asm/word-at-a-time.h for the 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 de