mp.h 407 B

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