coherency.h 604 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/arm/mach-mvebu/include/mach/coherency.h
  3. *
  4. *
  5. * Coherency fabric (Aurora) support for Armada 370 and XP platforms.
  6. *
  7. * Copyright (C) 2012 Marvell
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __MACH_370_XP_COHERENCY_H
  14. #define __MACH_370_XP_COHERENCY_H
  15. #ifdef CONFIG_SMP
  16. int coherency_get_cpu_count(void);
  17. #endif
  18. int set_cpu_coherent(int cpu_id, int smp_group_id);
  19. int coherency_init(void);
  20. #endif /* __MACH_370_XP_COHERENCY_H */