commit | 2ca49b2fcf5813571663c3c4c894b78148c43690 | [log] [tgz] |
---|---|---|
author | Dave Jones <davej@redhat.com> | Mon Jan 04 09:47:35 2010 -0500 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jan 13 08:57:38 2010 +0100 |
tree | 0761f5b4170ae0a2d4f71e0d80fffdb354cdf769 | |
parent | 59c33fa7791e9948ba467c2b83e307a0d087ab49 [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>