Skip to content
Commit 2ca49b2f authored by Dave Jones's avatar Dave Jones Committed by Ingo Molnar
Browse files

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 e02e0e1a

, and means we
don't have to do maths when adding new non-power-of-2 updates
like those seen recently.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
LKML-Reference: <20100104144735.GA18390@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 59c33fa7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment