irq_lsapic.c
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /*
  2.  * LSAPIC Interrupt Controller
  3.  *
  4.  * This takes care of interrupts that are generated by the CPU's
  5.  * internal Streamlined Advanced Programmable Interrupt Controller
  6.  * (LSAPIC), such as the ITC and IPI interrupts.
  7.     *
  8.  * Copyright (C) 1999 VA Linux Systems
  9.  * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
  10.  * Copyright (C) 2000 Hewlett-Packard Co
  11.  * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
  12.  */
  13. #include <linux/sched.h>
  14. #include <linux/irq.h>
  15. static unsigned int
  16. lsapic_noop_startup (unsigned int irq)
  17. {
  18. return 0;
  19. }
  20. static void
  21. lsapic_noop (unsigned int irq)
  22. {
  23. /* nuthing to do... */
  24. }
  25. struct hw_interrupt_type irq_type_ia64_lsapic = {
  26. typename: "LSAPIC",
  27. startup: lsapic_noop_startup,
  28. shutdown: lsapic_noop,
  29. enable: lsapic_noop,
  30. disable: lsapic_noop,
  31. ack: lsapic_noop,
  32. end: lsapic_noop,
  33. set_affinity: (void (*)(unsigned int, unsigned long)) lsapic_noop
  34. };