Add an empty definition for __iomem so that kernel headers that use __iomem can be imported into tools/include/ with less modifications. Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> --- tools/include/linux/compiler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h index 9c05a59f0184..df503ed8e038 100644 --- a/tools/include/linux/compiler.h +++ b/tools/include/linux/compiler.h @@ -116,6 +116,10 @@ # define __force #endif +#ifndef __iomem +# define __iomem +#endif + #ifndef __weak # define __weak __attribute__((weak)) #endif -- 2.49.0.1151.ga128411c76-goog