Hi Alan,

 We check for 'dl' twice in the cachesize checking in setup.c

'good eyes' to John Levon for spotting this before me,
this patch has been sitting around for a while.

regards,

Dave.

-- 
| Dave Jones.        http://www.suse.de/~davej
| SuSE Labs

diff -urN --exclude-from=/home/davej/.exclude linux/arch/i386/kernel/setup.c 
linux-dj/arch/i386/kernel/setup.c
--- linux/arch/i386/kernel/setup.c      Sat Feb 10 02:49:30 2001
+++ linux-dj/arch/i386/kernel/setup.c   Sat Feb 10 03:04:31 2001
@@ -1563,12 +1563,10 @@
                                case 4:
                                        if ( c->x86 > 6 && dl ) {
                                                /* P4 family */
-                                               if ( dl ) {
-                                                       /* L3 cache */
-                                                       cs = 128 << (dl-1);
-                                                       l3 += cs;
-                                                       break;
-                                               }
+                                               /* L3 cache */
+                                               cs = 128 << (dl-1);
+                                               l3 += cs;
+                                               break;
                                        }
                                        /* else same as 8 - fall through */
                                case 8:

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to