Skip to content

Commit

Permalink
i7core: temporary workaround to allow it to compile against 2.6.30
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed May 10, 2010
1 parent 3a3bb4a commit a55456f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a55456f

Please sign in to comment.