Re: [PATCH] x86: add show_lapic=

From: Cyrill Gorcunov
Date: Sun Sep 27 2009 - 13:43:04 EST


[Cyrill Gorcunov - Sun, Sep 27, 2009 at 06:40:08PM +0400]
...
| @@ -1866,21 +1863,37 @@ __apicdebuginit(void) print_PIC(void)
| printk(KERN_DEBUG "... PIC ELCR: %04x\n", v);
| }
|
| -__apicdebuginit(int) print_all_ICs(void)
| +static int __initdata show_lapic = NR_CPUS;
| +static __init int setup_show_lapic(char *arg)
| {
| + int num = 0;
| +
| + get_option(&arg, &num);
| + if (num >= 0)
| + show_lapic = num;
| +
| + return 1;
| +}
| +__setup("show_lapic=", setup_show_lapic);
| +
...

Sigh... this is wrong as well. The proper initial value
should be -1 :(

-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/