diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-29 23:30:12 -0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-29 23:30:12 -0400 | 
| commit | ce20269d1e97030afa476e12b99d2437e748d225 (patch) | |
| tree | 644d9962049b4d73ff85e17562e383a57c8ce1fa /arch/mips/mm/fault.c | |
| parent | 9754c5f6cbbd8893a29f139204e87a59eb342ca9 (diff) | |
| parent | 8a1e97ee2e025f116765c92409a3cf8f6cb07ad6 (diff) | |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  [MIPS] SMTC: Fix recursion in instant IPI replay code.
  [MIPS] BCM1480: Fix setting of irq affinity.
  [MIPS] do_page_fault() needs to use raw_smp_processor_id().
  [MIPS] SMTC: Fix false trigger of debug code on single VPE.
  [MIPS] SMTC: irq_{enter,leave} and kstats keeping for relayed timer ints.
  [MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS
  [MIPS] lockdep: Handle interrupts in R3000 style c0_status register.
  [MIPS] MV64340: Add missing prototype for mv64340_irq_init().
  [MIPS] MT: MIPS_MT_SMTC_INSTANT_REPLAY currently conflicts with PREEMPT.
  [MIPS] EV64120: Include <asm/irq.h> to fix warning.
  [MIPS] Ocelot: Fix warning.
  [MIPS] Ocelot: Give PMON_v1_setup a proper prototype.
Diffstat (limited to 'arch/mips/mm/fault.c')
| -rw-r--r-- | arch/mips/mm/fault.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c index 6f90e7ef66ac..f9c595dceba9 100644 --- a/arch/mips/mm/fault.c +++ b/arch/mips/mm/fault.c | |||
| @@ -42,7 +42,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, | |||
| 42 | siginfo_t info; | 42 | siginfo_t info; | 
| 43 | 43 | ||
| 44 | #if 0 | 44 | #if 0 | 
| 45 | printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", smp_processor_id(), | 45 | printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", raw_smp_processor_id(), | 
| 46 | current->comm, current->pid, field, address, write, | 46 | current->comm, current->pid, field, address, write, | 
| 47 | field, regs->cp0_epc); | 47 | field, regs->cp0_epc); | 
| 48 | #endif | 48 | #endif | 
| @@ -165,7 +165,7 @@ no_context: | |||
| 165 | 165 | ||
| 166 | printk(KERN_ALERT "CPU %d Unable to handle kernel paging request at " | 166 | printk(KERN_ALERT "CPU %d Unable to handle kernel paging request at " | 
| 167 | "virtual address %0*lx, epc == %0*lx, ra == %0*lx\n", | 167 | "virtual address %0*lx, epc == %0*lx, ra == %0*lx\n", | 
| 168 | smp_processor_id(), field, address, field, regs->cp0_epc, | 168 | raw_smp_processor_id(), field, address, field, regs->cp0_epc, | 
| 169 | field, regs->regs[31]); | 169 | field, regs->regs[31]); | 
| 170 | die("Oops", regs); | 170 | die("Oops", regs); | 
| 171 | 171 | ||
| @@ -228,7 +228,7 @@ vmalloc_fault: | |||
| 228 | pmd_t *pmd, *pmd_k; | 228 | pmd_t *pmd, *pmd_k; | 
| 229 | pte_t *pte_k; | 229 | pte_t *pte_k; | 
| 230 | 230 | ||
| 231 | pgd = (pgd_t *) pgd_current[smp_processor_id()] + offset; | 231 | pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; | 
| 232 | pgd_k = init_mm.pgd + offset; | 232 | pgd_k = init_mm.pgd + offset; | 
| 233 | 233 | ||
| 234 | if (!pgd_present(*pgd_k)) | 234 | if (!pgd_present(*pgd_k)) | 
