numaq.c 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * APIC driver for the IBM NUMAQ chipset.
  3. */
  4. #define APIC_DEFINITION 1
  5. #include <linux/threads.h>
  6. #include <linux/cpumask.h>
  7. #include <linux/smp.h>
  8. #include <asm/mpspec.h>
  9. #include <asm/genapic.h>
  10. #include <asm/fixmap.h>
  11. #include <asm/apicdef.h>
  12. #include <linux/kernel.h>
  13. #include <linux/string.h>
  14. #include <linux/init.h>
  15. #include <asm/mach-numaq/mach_apic.h>
  16. #include <asm/mach-numaq/mach_apicdef.h>
  17. #include <asm/mach-numaq/mach_ipi.h>
  18. #include <asm/mach-numaq/mach_mpparse.h>
  19. #include <asm/mach-numaq/mach_wakecpu.h>
  20. #include <asm/numaq.h>
  21. static int mps_oem_check(struct mp_config_table *mpc, char *oem,
  22. char *productid)
  23. {
  24. numaq_mps_oem_check(mpc, oem, productid);
  25. return found_numaq;
  26. }
  27. static int probe_numaq(void)
  28. {
  29. /* already know from get_memcfg_numaq() */
  30. return found_numaq;
  31. }
  32. /* Hook from generic ACPI tables.c */
  33. static int acpi_madt_oem_check(char *oem_id, char *oem_table_id)
  34. {
  35. return 0;
  36. }
  37. struct genapic apic_numaq = APIC_INIT("NUMAQ", probe_numaq);