cpu.h 443 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2007-2009 Analog Devices Inc.
  3. * Philippe Gerum <rpm@xenomai.org>
  4. *
  5. * Licensed under the GPL-2 or later.
  6. */
  7. #ifndef __ASM_BLACKFIN_CPU_H
  8. #define __ASM_BLACKFIN_CPU_H
  9. #include <linux/percpu.h>
  10. struct blackfin_cpudata {
  11. struct cpu cpu;
  12. unsigned int imemctl;
  13. unsigned int dmemctl;
  14. #ifdef CONFIG_SMP
  15. struct task_struct *idle;
  16. #endif
  17. };
  18. DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
  19. #endif