|
@@ -75,7 +75,7 @@ extern irqreturn_t xmon_irq(int, void *);
|
|
extern unsigned long loops_per_jiffy;
|
|
extern unsigned long loops_per_jiffy;
|
|
|
|
|
|
/* To be replaced by RTAS when available */
|
|
/* To be replaced by RTAS when available */
|
|
-static unsigned int *briq_SPOR;
|
|
|
|
|
|
+static unsigned int __iomem *briq_SPOR;
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
extern struct smp_ops_t chrp_smp_ops;
|
|
extern struct smp_ops_t chrp_smp_ops;
|
|
@@ -267,7 +267,7 @@ void __init chrp_setup_arch(void)
|
|
} else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) {
|
|
} else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) {
|
|
_chrp_type = _CHRP_briq;
|
|
_chrp_type = _CHRP_briq;
|
|
/* Map the SPOR register on briq and change the restart hook */
|
|
/* Map the SPOR register on briq and change the restart hook */
|
|
- briq_SPOR = (unsigned int *)ioremap(0xff0000e8, 4);
|
|
|
|
|
|
+ briq_SPOR = ioremap(0xff0000e8, 4);
|
|
ppc_md.restart = briq_restart;
|
|
ppc_md.restart = briq_restart;
|
|
} else {
|
|
} else {
|
|
/* Let's assume it is an IBM chrp if all else fails */
|
|
/* Let's assume it is an IBM chrp if all else fails */
|