[Concept,04/10] fs: Drop redundant asm-generic/atomic.h include

Message ID 20260418004014.1889749-5-sjg@u-boot.org
State New
Headers
Series efi-x86: boot Ubuntu live ISOs via U-Boot + BLS |

Commit Message

Simon Glass April 18, 2026, 12:39 a.m. UTC
  From: Simon Glass <sjg@chromium.org>

The isofs port does not call any atomic operation directly, and the
header is reachable transitively via linux/buffer_head.h. The direct
include just drags in a second copy of the inline functions for no
benefit, and on x86 it adds another spot to fix when switching to
<asm/atomic.h>.

Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 fs/isofs/isofs_uboot.h | 1 -
 1 file changed, 1 deletion(-)
  

Patch

diff --git a/fs/isofs/isofs_uboot.h b/fs/isofs/isofs_uboot.h
index b543ecb8999..d73c94f12c2 100644
--- a/fs/isofs/isofs_uboot.h
+++ b/fs/isofs/isofs_uboot.h
@@ -29,7 +29,6 @@ 
 /* Linux headers */
 #include <asm/byteorder.h>
 #include <asm-generic/unaligned.h>
-#include <asm-generic/atomic.h>
 #include <linux/bitops.h>
 #include <linux/bug.h>
 #include <linux/err.h>