aboutsummaryrefslogtreecommitdiff
path: root/include/linux/array_size.h
AgeCommit message (Collapse)AuthorFilesLines
2023-10-03kernel.h: Move ARRAY_SIZE() to a separate headerAlejandro Colomar1-0/+13
Touching files so used for the kernel, forces 'make' to recompile most of the kernel. Having those definitions in more granular files helps avoid recompiling so much of the kernel. Signed-off-by: Alejandro Colomar <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] [andy: reduced to cover only string.h for now] Signed-off-by: Andy Shevchenko <[email protected]>