From: Simon Glass <simon.glass@canonical.com> The comment about atomic_t being expected from the including file is outdated. Include asm-generic/atomic.h directly to provide the atomic_t type definition. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- include/linux/buffer_head.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h index 0f8f5b6caf1..5fbcc757c80 100644 --- a/include/linux/buffer_head.h +++ b/include/linux/buffer_head.h @@ -12,10 +12,7 @@ #include <linux/types.h> #include <linux/list.h> #include <linux/spinlock.h> -/* - * Note: atomic_t and sector_t are expected to be defined by the including - * file (ext4_uboot.h) before including this header. - */ +#include <asm-generic/atomic.h> enum bh_state_bits { BH_Uptodate, /* Contains valid data */ -- 2.43.0