[PATCH] DMI: move dmi_scan.c from arch/i386 to drivers/firmware/
dmi_scan.c is arch-independent and is used by i386, x86_64, and ia64. Currently all three arches compile it from arch/i386, which means that ia64 and x86_64 depend on things in arch/i386 that they wouldn't otherwise care about. This is simply "mv arch/i386/kernel/dmi_scan.c drivers/firmware/" (removing trailing whitespace) and the associated Makefile changes. All three architectures already set CONFIG_DMI in their top-level Kconfig files. Signed-off-by:Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Andi Kleen <ak@muc.de> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Andrey Panin <pazke@orbita1.ru> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- arch/i386/kernel/Makefile 1 addition, 1 deletionarch/i386/kernel/Makefile
- arch/ia64/kernel/Makefile 1 addition, 2 deletionsarch/ia64/kernel/Makefile
- arch/x86_64/kernel/Makefile 1 addition, 3 deletionsarch/x86_64/kernel/Makefile
- drivers/firmware/Makefile 2 additions, 1 deletiondrivers/firmware/Makefile
- drivers/firmware/dmi_scan.c 6 additions, 6 deletionsdrivers/firmware/dmi_scan.c
Please register or sign in to comment