X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fi386%2Fkernel%2Fsmpboot.c;h=88baed1e7e83a1469ecc33f1ed5e6e1c17a00af4;hb=c52ecdab06ff3b4d0f8914951eb74dc8b049f51c;hp=08f07a74a9d3753184ab7a3096697eaac4d2cb98;hpb=de7860c3f3272086a4c3a1b4280b11ffae7c32be;p=linux-2.6-omap-h63xx.git diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 08f07a74a9d..88baed1e7e8 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -943,10 +943,9 @@ exit: static void smp_tune_scheduling(void) { - unsigned long cachesize; /* kB */ - if (cpu_khz) { - cachesize = boot_cpu_data.x86_cache_size; + /* cache size in kB */ + long cachesize = boot_cpu_data.x86_cache_size; if (cachesize > 0) max_cache_size = cachesize * 1024;