summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/process_32.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2010-01-04 09:47:35 -0500
committerIngo Molnar <mingo@elte.hu>2010-01-13 08:57:38 +0100
commit2ca49b2fcf5813571663c3c4c894b78148c43690 (patch)
tree0761f5b4170ae0a2d4f71e0d80fffdb354cdf769 /arch/x86/kernel/process_32.c
parent59c33fa7791e9948ba467c2b83e307a0d087ab49 (diff)
x86: Macroise x86 cache descriptors
Use a macro to define the cache sizes when cachesize > 1 MB. This is less typing, and less prone to introducing bugs like we saw in e02e0e1a130b9ca37c5186d38ad4b3aaf58bb149, and means we don't have to do maths when adding new non-power-of-2 updates like those seen recently. Signed-off-by: Dave Jones <davej@redhat.com> LKML-Reference: <20100104144735.GA18390@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
0 files changed, 0 insertions, 0 deletions