mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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:
parent
fded8da4bc
commit
9bf9b185e3
1 changed files with 4 additions and 0 deletions
|
|
@ -138,6 +138,10 @@
|
|||
# define __force
|
||||
#endif
|
||||
|
||||
#ifndef __iomem
|
||||
# define __iomem
|
||||
#endif
|
||||
|
||||
#ifndef __weak
|
||||
# define __weak __attribute__((weak))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue