It has been requested that we should let x86 behave like
other architectures so we at config time decide for 32 or 64 bit.
The challenge here is to mere the Kconfig files and I have done
an attempt to do so.
See patch below.
The diffstat looks nice:
arch/x86/{Kconfig.i386 => Kconfig} | 1167 ++++++++++++++-------------
arch/x86/Kconfig.cpu | 79 ++-
arch/x86/Kconfig.i386 | 1546 ++++++------------------------------
arch/x86/Kconfig.x86_64 | 1051 +++++-------------------
scripts/kconfig/Makefile | 7 +-
5 files changed, 1116 insertions(+), 2734 deletions(-)
But the merge was in no way trivial so a couple of trained eyes
on the result would be good.
I am heading for bed and I did not manage to unify the cpufreq
Kconfig files (but it looks trivial).
This needs to be done before we can apply this patch.
I merged all config options with prompts to the common Kconfig file
and the non-prompt config options were kept in Kconfig.$(ARCH)
In some case I added a depends on X86_{32,64} just to document
the dependency since it was given implicit.
In Kconfig.cpu I actually left out the 32/64 dependency since I
could not see it hamr since the relevant symbols were anyway not set.
When we have merged the Kconfig files we need to fix the Makefile.
But that is trivial. We shall check X86_64 / X86_32 as replacement
for ARCH in arch/x86/Makefile and I think we are done.
Comments?
I could split it up in smaller chunks - at least the Kconfig.cpu
thing could be merged independently. But I dunno if it is worth it.
Sam
---
arch/x86/{Kconfig.i386 => Kconfig} | 1167 ++++++++++++++-------------
arch/x86/Kconfig.cpu | 79 ++-
arch/x86/Kconfig.i386 | 1546 ++++++------------------------------
arch/x86/Kconfig.x86_64 | 1051 +++++-------------------
scripts/kconfig/Makefile | 7 +-
5 files changed, 1116 insertions(+), 2734 deletions(-)
rename arch/x86/{Kconfig.i386 =>...