From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 17:25:30 +0000 (-0300) Subject: x86: add subarch support (for headers) to x86_64 X-Git-Tag: firefly_0821_release~21631^2~366 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ee09efc3e4173632471d2dff6ca42e21930c94fe;p=firefly-linux-kernel-4.4.55.git x86: add subarch support (for headers) to x86_64 this patch allows x86_64 to use subarch mach_ headers in practice, since x86_64 does not have any subarch, it will use mach_default. But it will allow for substantially less code duplication Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 03131ce1d526..3cff3c894cf3 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -151,7 +151,6 @@ mflags-y += -Iinclude/asm-x86/mach-default # 64 bit does not support subarch support - clear sub arch variables fcore-$(CONFIG_X86_64) := mcore-$(CONFIG_X86_64) := -mflags-$(CONFIG_X86_64) := KBUILD_CFLAGS += $(mflags-y) KBUILD_AFLAGS += $(mflags-y)