Loading arch/mips/mips-boards/generic/amon.c +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ int amon_cpu_avail(int cpu) { struct cpulaunch *launch = (struct cpulaunch *)KSEG0ADDR(CPULAUNCH); struct cpulaunch *launch = (struct cpulaunch *)CKSEG0ADDR(CPULAUNCH); if (cpu < 0 || cpu >= NCPULAUNCH) { pr_debug("avail: cpu%d is out of range\n", cpu); Loading @@ -53,7 +53,7 @@ void amon_cpu_start(int cpu, unsigned long gp, unsigned long a0) { volatile struct cpulaunch *launch = (struct cpulaunch *)KSEG0ADDR(CPULAUNCH); (struct cpulaunch *)CKSEG0ADDR(CPULAUNCH); if (!amon_cpu_avail(cpu)) return; Loading include/asm-mips/gic.h +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ #define MSK(n) ((1 << (n)) - 1) #define REG32(addr) (*(volatile unsigned int *) (addr)) #define REG(base, offs) REG32((unsigned int)(base) + offs##_##OFS) #define REGP(base, phys) REG32((unsigned int)(base) + (phys)) #define REG(base, offs) REG32((unsigned long)(base) + offs##_##OFS) #define REGP(base, phys) REG32((unsigned long)(base) + (phys)) /* Accessors */ #define GIC_REG(segment, offset) \ Loading Loading
arch/mips/mips-boards/generic/amon.c +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ int amon_cpu_avail(int cpu) { struct cpulaunch *launch = (struct cpulaunch *)KSEG0ADDR(CPULAUNCH); struct cpulaunch *launch = (struct cpulaunch *)CKSEG0ADDR(CPULAUNCH); if (cpu < 0 || cpu >= NCPULAUNCH) { pr_debug("avail: cpu%d is out of range\n", cpu); Loading @@ -53,7 +53,7 @@ void amon_cpu_start(int cpu, unsigned long gp, unsigned long a0) { volatile struct cpulaunch *launch = (struct cpulaunch *)KSEG0ADDR(CPULAUNCH); (struct cpulaunch *)CKSEG0ADDR(CPULAUNCH); if (!amon_cpu_avail(cpu)) return; Loading
include/asm-mips/gic.h +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ #define MSK(n) ((1 << (n)) - 1) #define REG32(addr) (*(volatile unsigned int *) (addr)) #define REG(base, offs) REG32((unsigned int)(base) + offs##_##OFS) #define REGP(base, phys) REG32((unsigned int)(base) + (phys)) #define REG(base, offs) REG32((unsigned long)(base) + offs##_##OFS) #define REGP(base, phys) REG32((unsigned long)(base) + (phys)) /* Accessors */ #define GIC_REG(segment, offset) \ Loading