Re: [PATCH 07/16] tools/include: Add io.h stub

From: Matthew Wilcox
Date: Thu Jan 27 2022 - 09:09:10 EST


On Thu, Jan 27, 2022 at 02:21:25PM +0100, Karolina Drobnik wrote:
> Add a dummy io.h header.

Rather begs the question of what memblock.c needs from linux/io.h.
Wouldn't it be better to:

+++ b/mm/memblock.c
@@ -18,7 +18,6 @@
#include <linux/memblock.h>

#include <asm/sections.h>
-#include <linux/io.h>

#include "internal.h"


(allmodconfig on x86-64 builds fine with this; I have not done an
extended sweep of other arches / build options).