[PATCH] x86/iopl: Rename <asm/iobitmap.h> to <asm/io_bitmap.h>
From: Ingo Molnar
Date: Tue Nov 12 2019 - 03:16:01 EST
Rename <asm/iobitmap.h> to <asm/io_bitmap.h>, because IMHO the header
that defines 'struct io_bitmap' should be called io_bitmap.h. :-)
Build tested.
Thanks,
Ingo
---
arch/x86/entry/common.c | 2 +-
arch/x86/include/asm/{iobitmap.h => io_bitmap.h} | 0
arch/x86/kernel/ioport.c | 2 +-
arch/x86/kernel/process.c | 2 +-
arch/x86/kernel/ptrace.c | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 85e8a8d7b380..9747876980b5 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -33,7 +33,7 @@
#include <asm/cpufeature.h>
#include <asm/fpu/api.h>
#include <asm/nospec-branch.h>
-#include <asm/iobitmap.h>
+#include <asm/io_bitmap.h>
#define CREATE_TRACE_POINTS
#include <trace/events/syscalls.h>
diff --git a/arch/x86/include/asm/iobitmap.h b/arch/x86/include/asm/io_bitmap.h
similarity index 100%
rename from arch/x86/include/asm/iobitmap.h
rename to arch/x86/include/asm/io_bitmap.h
diff --git a/arch/x86/kernel/ioport.c b/arch/x86/kernel/ioport.c
index 203f82383bf6..d1a3a9f5314b 100644
--- a/arch/x86/kernel/ioport.c
+++ b/arch/x86/kernel/ioport.c
@@ -11,7 +11,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
-#include <asm/iobitmap.h>
+#include <asm/io_bitmap.h>
#include <asm/desc.h>
static atomic64_t io_bitmap_sequence;
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index ecf97855ed68..7bf60741e80a 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -41,7 +41,7 @@
#include <asm/desc.h>
#include <asm/prctl.h>
#include <asm/spec-ctrl.h>
-#include <asm/iobitmap.h>
+#include <asm/io_bitmap.h>
#include <asm/proto.h>
#include "process.h"
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index f27c322f1c93..72bf005c8208 100644
--- a/arch/x86/kernel/ptrace.c
+++ b/arch/x86/kernel/ptrace.c
@@ -42,7 +42,7 @@
#include <asm/traps.h>
#include <asm/syscall.h>
#include <asm/fsgsbase.h>
-#include <asm/iobitmap.h>
+#include <asm/io_bitmap.h>
#include "tls.h"