~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/sparc/kernel/entry.S

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
        /* FIXME */
401
401
1:      b,a     1b
402
402
 
 
403
#ifdef CONFIG_SPARC_LEON
 
404
 
 
405
        .globl  smpleon_ticker
 
406
        /* SMP per-cpu ticker interrupts are handled specially. */
 
407
smpleon_ticker:
 
408
        SAVE_ALL
 
409
        or      %l0, PSR_PIL, %g2
 
410
        wr      %g2, 0x0, %psr
 
411
        WRITE_PAUSE
 
412
        wr      %g2, PSR_ET, %psr
 
413
        WRITE_PAUSE
 
414
        call    leon_percpu_timer_interrupt
 
415
         add    %sp, STACKFRAME_SZ, %o0
 
416
        wr      %l0, PSR_ET, %psr
 
417
        WRITE_PAUSE
 
418
        RESTORE_ALL
 
419
 
 
420
        .align  4
 
421
        .globl  linux_trap_ipi15_leon
 
422
linux_trap_ipi15_leon:
 
423
        SAVE_ALL
 
424
        or      %l0, PSR_PIL, %l4
 
425
        wr      %l4, 0x0, %psr
 
426
        WRITE_PAUSE
 
427
        wr      %l4, PSR_ET, %psr
 
428
        WRITE_PAUSE
 
429
        call    leon_cross_call_irq
 
430
         nop
 
431
        b       ret_trap_lockless_ipi
 
432
         clr    %l6
 
433
 
 
434
#endif /* CONFIG_SPARC_LEON */
 
435
 
403
436
#endif /* CONFIG_SMP */
404
437
 
405
438
        /* This routine handles illegal instructions and privileged
1261
1294
        sethi   %hi(PSR_SYSCALL), %l4
1262
1295
        or      %l0, %l4, %l0
1263
1296
        /* Direct access to user regs, must faster. */
1264
 
        cmp     %g1, NR_SYSCALLS
 
1297
        cmp     %g1, NR_syscalls
1265
1298
        bgeu    linux_sparc_ni_syscall
1266
1299
         sll    %g1, 2, %l4
1267
1300
        ld      [%l7 + %l4], %l7