diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-04 23:47:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-10 10:44:58 -0400 |
commit | a55456f3446d19853af54b64b3840312f46b6ea5 (patch) | |
tree | bfe60e4010bbaed4706068a84a927ed529779947 /drivers/edac | |
parent | 3a3bb4a647db4cb2468641df8da2ee9491784a9a (diff) |
i7core: temporary workaround to allow it to compile against 2.6.30
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/i7core_edac.c | 6 |
1 files changed, 4 insertions, 2 deletions
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, | |||
1536 | u32 syndrome = m->misc >> 32; | 1536 | u32 syndrome = m->misc >> 32; |
1537 | u32 errnum = find_first_bit(&error, 32); | 1537 | u32 errnum = find_first_bit(&error, 32); |
1538 | int csrow; | 1538 | int csrow; |
1539 | #ifdef CONFIG_SMP | 1539 | /* FIXME */ |
1540 | u32 socket_id = cpu_data[m->cpu].phys_proc_id; | 1540 | //#ifdef CONFIG_SMP |
1541 | #if 0 | ||
1542 | u32 socket_id = per_cpu(cpu_data, cpu).phys_proc_id; | ||
1541 | #else | 1543 | #else |
1542 | u32 socket_id = 0; | 1544 | u32 socket_id = 0; |
1543 | #endif | 1545 | #endif |