Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208541
b: refs/heads/master
c: bd1688d
h: refs/heads/master
i:
  208539: aa20924
v: v3
  • Loading branch information
Christoph Egger authored and Linus Torvalds committed Aug 11, 2010
1 parent 88f46f6 commit 8eee69a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c52b0b91ba1f4b7ea90e20385c0a6df0ba54aed4
refs/heads/master: bd1688dcdf6e986913f3f1ff2df9dc2bfb63db5c
10 changes: 5 additions & 5 deletions trunk/drivers/edac/mpc85xx_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static u32 orig_pci_err_en;
#endif

static u32 orig_l2_err_disable;
#ifdef CONFIG_MPC85xx
#ifdef CONFIG_FSL_SOC_BOOKE
static u32 orig_hid1[2];
#endif

Expand Down Expand Up @@ -1140,7 +1140,7 @@ static struct of_platform_driver mpc85xx_mc_err_driver = {
},
};

#ifdef CONFIG_MPC85xx
#ifdef CONFIG_FSL_SOC_BOOKE
static void __init mpc85xx_mc_clear_rfxe(void *data)
{
orig_hid1[smp_processor_id()] = mfspr(SPRN_HID1);
Expand Down Expand Up @@ -1179,7 +1179,7 @@ static int __init mpc85xx_mc_init(void)
printk(KERN_WARNING EDAC_MOD_STR "PCI fails to register\n");
#endif

#ifdef CONFIG_MPC85xx
#ifdef CONFIG_FSL_SOC_BOOKE
/*
* need to clear HID1[RFXE] to disable machine check int
* so we can catch it
Expand All @@ -1193,7 +1193,7 @@ static int __init mpc85xx_mc_init(void)

module_init(mpc85xx_mc_init);

#ifdef CONFIG_MPC85xx
#ifdef CONFIG_FSL_SOC_BOOKE
static void __exit mpc85xx_mc_restore_hid1(void *data)
{
mtspr(SPRN_HID1, orig_hid1[smp_processor_id()]);
Expand All @@ -1202,7 +1202,7 @@ static void __exit mpc85xx_mc_restore_hid1(void *data)

static void __exit mpc85xx_mc_exit(void)
{
#ifdef CONFIG_MPC85xx
#ifdef CONFIG_FSL_SOC_BOOKE
on_each_cpu(mpc85xx_mc_restore_hid1, NULL, 0);
#endif
#ifdef CONFIG_PCI
Expand Down

0 comments on commit 8eee69a

Please sign in to comment.