From: Mauro Carvalho Chehab Date: Sat, 5 Sep 2009 03:47:21 +0000 (-0300) Subject: i7core: temporary workaround to allow it to compile against 2.6.30 X-Git-Tag: v2.6.35-rc2~10^2~37 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a55456f3446d19853af54b64b3840312f46b6ea5;p=karo-tx-linux.git i7core: temporary workaround to allow it to compile against 2.6.30 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 76f4e6d973af..af222ffcfdfc 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c @@ -1536,8 +1536,10 @@ static void i7core_mce_output_error(struct mem_ctl_info *mci, u32 syndrome = m->misc >> 32; u32 errnum = find_first_bit(&error, 32); int csrow; -#ifdef CONFIG_SMP - u32 socket_id = cpu_data[m->cpu].phys_proc_id; +/* FIXME */ +//#ifdef CONFIG_SMP +#if 0 + u32 socket_id = per_cpu(cpu_data, cpu).phys_proc_id; #else u32 socket_id = 0; #endif