diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-09-21 10:16:20 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-03 09:12:02 +1000 |
commit | 2578bfae84a78bd46fdbc0d2f9d39e9fbc9c8a3f (patch) | |
tree | 9dad1abf1dd5fa31cc1d507d559baa7e52d6a836 /arch/powerpc/Kconfig | |
parent | 75918a4b5998c93ee1ab131fbe64b97b5d0d2315 (diff) |
[POWERPC] Create and use CONFIG_WORD_SIZE
Linus made this suggestion for the x86 merge and this starts the process
for powerpc. We assume that CONFIG_PPC64 implies CONFIG_PPC_MERGE and
CONFIG_PPC_STD_MMU_32 implies CONFIG_PPC_STD_MMU.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 26126d27d75..45e86c751f1 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -14,6 +14,11 @@ config 64BIT bool default y if PPC64 +config WORD_SIZE + int + default 64 if PPC64 + default 32 if !PPC64 + config PPC_MERGE def_bool y |