Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98156
b: refs/heads/master
c: 938b2b1
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jun 16, 2008
1 parent df147f3 commit c7228a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: 1f34f2e4262bae8a1aa6d8fd6306b07074d33718
refs/heads/master: 938b2b14172bd098972df2a5157bfabf161c90e5
4 changes: 2 additions & 2 deletions trunk/arch/mips/mips-boards/generic/amon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-mips/gic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit c7228a8

Please sign in to comment.