mp.h 407 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2009-2010 Freescale Semiconductor, Inc.
  4. */
  5. #ifndef _ASM_MP_H_
  6. #define _ASM_MP_H_
  7. #include <lmb.h>
  8. void setup_mp(void);
  9. void cpu_mp_lmb_reserve(struct lmb *lmb);
  10. u32 determine_mp_bootpg(unsigned int *pagesize);
  11. int is_core_disabled(int nr);
  12. #ifdef CONFIG_E6500
  13. #define thread_to_core(x) (x >> 1)
  14. #else
  15. #define thread_to_core(x) (x)
  16. #endif
  17. #endif