Changeset 7782030 in mainline for kernel/arch/ia64/src/interrupt.c


Ignore:
Timestamp:
2008-11-23T16:13:21Z (16 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2093d6
Parents:
0013b9ce
Message:

Classic TLB shootdown support on ia64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/interrupt.c

    r0013b9ce r7782030  
    5454#include <ipc/ipc.h>
    5555#include <synch/spinlock.h>
     56#include <mm/tlb.h>
    5657
    5758#define VECTORS_64_BUNDLE       20
     
    235236}
    236237
     238static void end_of_local_irq()
     239{
     240        asm volatile ("mov cr.eoi=r0;;");
     241}
     242
     243
    237244void external_interrupt(uint64_t vector, istate_t *istate)
    238245{
     
    255262                        break;
    256263
     264#ifdef CONFIG_SMP
     265                case VECTOR_TLB_SHOOTDOWN_IPI:
     266                        tlb_shootdown_ipi_recv();
     267                        end_of_local_irq();
     268                        break;
     269#endif
     270
     271
    257272                default:
    258273                        panic("\nUnhandled External Interrupt Vector %d\n",
Note: See TracChangeset for help on using the changeset viewer.