tools headers: Add stub definition for __iomem
Add an empty definition for __iomem so that kernel headers that use __iomem can be imported into tools/include/ with less modifications. Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20250822212518.4156428-15-dmatlack@google.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
committed by
Alex Williamson
parent
fded8da4bc
commit
9bf9b185e3
@@ -138,6 +138,10 @@
|
||||
# define __force
|
||||
#endif
|
||||
|
||||
#ifndef __iomem
|
||||
# define __iomem
|
||||
#endif
|
||||
|
||||
#ifndef __weak
|
||||
# define __weak __attribute__((weak))
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user