Andreas Herrmann
1389298f7d
x86, mcheck: Avoid duplicate sysfs links/files for thresholding banks
kobject_add_internal failed for threshold_bank2 with -EEXIST,
don't try to register things with the same name in the same
directory:
Pid: 1, comm: swapper Tainted: G W 2.6.31 #1
Call Trace:
[<ffffffff81161b07>] ? kobject_add_internal+0x156/0x180
[<ffffffff81161cc0>] ? kobject_add+0x66/0x6b
[<ffffffff81161793>] ? kobject_init+0x42/0x82
[<ffffffff81161cf9>] ? kobject_create_and_add+0x34/0x63
[<ffffffff81393963>] ? threshold_create_bank+0x14f/0x259
[<ffffffff8139310a>] ? mce_create_device+0x8d/0x1b8
[<ffffffff81646497>] ? threshold_init_device+0x3f/0x80
[<ffffffff81646458>] ? threshold_init_device+0x0/0x80
[<ffffffff81009050>] ? do_one_initcall+0x4f/0x143
[<ffffffff816413a0>] ? kernel_init+0x14c/0x1a2
[<ffffffff8100c8da>] ? child_rip+0xa/0x20
[<ffffffff81641254>] ? kernel_init+0x0/0x1a2
[<ffffffff8100c8d0>] ? child_rip+0x0/0x20
kobject_create_and_add: kobject_add error: -17
(Probably the for_each_cpu loop should be entirely removed.)
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100827092006.GB5348@loge.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-09-05 14:35:49 +02:00
..
2010-08-02 21:07:20 -07:00
2010-08-14 22:26:53 +02:00
2010-05-03 11:28:58 +08:00
2010-08-13 16:53:13 -07:00
2010-09-05 14:26:14 +02:00
2010-09-05 14:35:49 +02:00
2010-08-06 13:07:19 -07:00
2010-05-28 16:20:35 -04:00
2010-08-13 10:35:48 -07:00
2010-05-10 13:37:16 -07:00
2010-09-05 14:26:14 +02:00
2010-08-05 12:17:38 +02:00
2010-07-30 09:47:33 -07:00
2010-07-19 10:56:54 +02:00
2010-02-07 17:47:51 +01:00
2010-08-06 16:22:59 -07:00
2010-08-12 09:09:41 -07:00
2010-04-08 11:34:34 +02:00
2010-08-19 14:47:43 -07:00
2010-05-18 08:58:16 -07:00
2010-05-18 08:40:21 -07:00
2010-05-13 22:15:18 -07:00
2009-12-08 13:38:11 -08:00