profile.c 432 B

1234567891011121314151617181920
  1. /*
  2. * arch/s390/kernel/profile.c
  3. *
  4. * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
  5. * Author(s): Thomas Spatzier (tspat@de.ibm.com)
  6. *
  7. */
  8. #include <linux/proc_fs.h>
  9. #include <linux/profile.h>
  10. static struct proc_dir_entry * root_irq_dir;
  11. void init_irq_proc(void)
  12. {
  13. /* create /proc/irq */
  14. root_irq_dir = proc_mkdir("irq", 0);
  15. /* create /proc/irq/prof_cpu_mask */
  16. create_prof_cpu_mask(root_irq_dir);
  17. }