smp.h 601 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * include/asm-xtensa/smp.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 - 2005 Tensilica Inc.
  9. */
  10. #ifndef _XTENSA_SMP_H
  11. #define _XTENSA_SMP_H
  12. extern struct xtensa_cpuinfo boot_cpu_data;
  13. #define cpu_data (&boot_cpu_data)
  14. #define current_cpu_data boot_cpu_data
  15. struct xtensa_cpuinfo {
  16. unsigned long *pgd_cache;
  17. unsigned long *pte_cache;
  18. unsigned long pgtable_cache_sz;
  19. };
  20. #define cpu_logical_map(cpu) (cpu)
  21. #endif /* _XTENSA_SMP_H */