Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 400
b: refs/heads/master
c: 8e293ad
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 24, 2005
1 parent 5b8ff42 commit ae2c648
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: e2178f199b341cc3e3ac86be50a54b0d8d8a132f
refs/heads/master: 8e293ada7d6aaee43dd56a8077b83577dd108667
14 changes: 7 additions & 7 deletions trunk/arch/ppc/platforms/pmac_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ extern void __secondary_start_psurge3(void); /* Temporary horrible hack */
#define PSURGE_QUAD_BIC(r, v) (PSURGE_QUAD_OUT((r), PSURGE_QUAD_IN(r) & ~(v)))

/* virtual addresses for the above */
static volatile u8 *hhead_base;
static volatile u8 *quad_base;
static volatile u32 *psurge_pri_intr;
static volatile u8 *psurge_sec_intr;
static volatile u32 *psurge_start;
static volatile u8 __iomem *hhead_base;
static volatile u8 __iomem *quad_base;
static volatile u32 __iomem *psurge_pri_intr;
static volatile u8 __iomem *psurge_sec_intr;
static volatile u32 __iomem *psurge_start;

/* values for psurge_type */
#define PSURGE_NONE -1
Expand Down Expand Up @@ -322,10 +322,10 @@ static int __init smp_psurge_probe(void)
/* All released cards using this HW design have 4 CPUs */
ncpus = 4;
} else {
iounmap((void *) quad_base);
iounmap(quad_base);
if ((in_8(hhead_base + HHEAD_CONFIG) & 0x02) == 0) {
/* not a dual-cpu card */
iounmap((void *) hhead_base);
iounmap(hhead_base);
psurge_type = PSURGE_NONE;
return 1;
}
Expand Down

0 comments on commit ae2c648

Please sign in to comment.