cpu.h 509 B

1234567891011121314151617181920212223242526
  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 task_struct;
  11. struct blackfin_cpudata {
  12. struct cpu cpu;
  13. struct task_struct *idle;
  14. unsigned int imemctl;
  15. unsigned int dmemctl;
  16. unsigned long dcache_invld_count;
  17. unsigned long icache_invld_count;
  18. };
  19. DECLARE_PER_CPU(struct blackfin_cpudata, cpu_data);
  20. #endif