提交 a55456f3 编写于 作者: M Mauro Carvalho Chehab

i7core: temporary workaround to allow it to compile against 2.6.30

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 3a3bb4a6
...@@ -1536,8 +1536,10 @@ static void i7core_mce_output_error(struct mem_ctl_info *mci, ...@@ -1536,8 +1536,10 @@ static void i7core_mce_output_error(struct mem_ctl_info *mci,
u32 syndrome = m->misc >> 32; u32 syndrome = m->misc >> 32;
u32 errnum = find_first_bit(&error, 32); u32 errnum = find_first_bit(&error, 32);
int csrow; int csrow;
#ifdef CONFIG_SMP /* FIXME */
u32 socket_id = cpu_data[m->cpu].phys_proc_id; //#ifdef CONFIG_SMP
#if 0
u32 socket_id = per_cpu(cpu_data, cpu).phys_proc_id;
#else #else
u32 socket_id = 0; u32 socket_id = 0;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册