Skip to contentSkip to conversation

x86/um: remove unused <asm/required-features.h> header

PATCH Applied Ethan Nelson-Moore 2 participants 2 messages Sep 18 – Sep 30

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/um: remove unused <asm/required-features.h> header

arch/x86/um/asm/required-features.h only existed to satisfy dependencies on the non-UML x86 header of the same name, which was removed in commit 8f97566c8a81 ("x86/cpufeatures: Remove {disabled,required}-features.h"). Remove it.

---
 arch/x86/um/asm/required-features.h | 9 ---------
 1 file changed, 9 deletions(-)
 delete mode 100644 arch/x86/um/asm/required-features.h
arch/x86/um/asm/required-features.h deleted +0 -9
deleted file mode 100644
index dfb967b2d2f3..000000000000
@@ -1,9 +0,0 @@
-#ifndef __UM_REQUIRED_FEATURES_H
-#define __UM_REQUIRED_FEATURES_H
-
-/*
- * Nothing to see, just need something for the i386 and x86_64 asm
- * headers to include.
- */
-
-#endif
Signature · 1 line
2.43.0
#1 lore raw

[tip: x86/cleanups] x86/um: Remove unused <asm/required-features.h> header

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     2c6a75adb15f8fbeb7a8cc6b1f35beb21db20762
Gitweb:        https://git.kernel.org/tip/2c6a75adb15f8fbeb7a8cc6b1f35beb21db20762
Author:        Ethan Nelson-Moore <[email protected]>
AuthorDate:    Thu, 17 Sep 2026 20:18:01 -07:00
Committer:     Borislav Petkov (AMD) <[email protected]>
CommitterDate: Tue, 29 Sep 2026 20:48:21 -07:00

x86/um: Remove unused <asm/required-features.h> header

arch/x86/um/asm/required-features.h only existed to satisfy dependencies on the non-UML x86 header of the same name, which was removed in

8f97566c8a81 ("x86/cpufeatures: Remove {disabled,required}-features.h").

Remove it.

---
 arch/x86/um/asm/required-features.h |  9 ---------
 1 file changed, 9 deletions(-)
 delete mode 100644 arch/x86/um/asm/required-features.h
arch/x86/um/asm/required-features.h deleted +0 -9
deleted file mode 100644
index dfb967b..0000000
@@ -1,9 +0,0 @@
-#ifndef __UM_REQUIRED_FEATURES_H
-#define __UM_REQUIRED_FEATURES_H
-
-/*
- * Nothing to see, just need something for the i386 and x86_64 asm
- * headers to include.
- */
-
-#endif