x86: make x86_32 use tlb_64.c, build fix, clean up X86_L1_CACHE_BYTES
authorIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 09:32:44 +0000 (10:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 21 Jan 2009 10:17:11 +0000 (11:17 +0100)
commitace6c6c840878342f698f0da6588dd5ded755369
treeed9d68efca2ccabbc379246b2fe65607c34f0259
parent198030782cedf25391e67e7c88b04f87a5eb6563
x86: make x86_32 use tlb_64.c, build fix, clean up X86_L1_CACHE_BYTES

Fix:

  arch/x86/mm/tlb.c:47: error: ‘CONFIG_X86_INTERNODE_CACHE_BYTES’ undeclared here (not in a function)

The CONFIG_X86_INTERNODE_CACHE_BYTES symbol is only defined on 64-bit,
because vsmp support is 64-bit only. Define it on 32-bit too - where it
will always be equal to X86_L1_CACHE_BYTES.

Also move the default of X86_L1_CACHE_BYTES (which is separate from the
more commonly used L1_CACHE_SHIFT kconfig symbol) from 128 bytes to
64 bytes.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig.cpu