[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090927174219.GA14280@lenovo>
Date: Sun, 27 Sep 2009 21:42:19 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Yinghai Lu <yinghai@...nel.org>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: add show_lapic=
[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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists