diff options
author | chenhui zhao <chenhui.zhao@freescale.com> | 2015-11-20 17:14:02 +0800 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-03-04 23:58:38 -0600 |
commit | 6becef7ea04a695f64299238fe13d41e41607469 (patch) | |
tree | bf03a820bdb66e85dffd5d2bef19ff291a106d17 /arch/powerpc/include/asm/cputhreads.h | |
parent | 2f4f1f815bc6d03ea42d4f67dd1e284525e7524e (diff) | |
download | op-kernel-dev-6becef7ea04a695f64299238fe13d41e41607469.zip op-kernel-dev-6becef7ea04a695f64299238fe13d41e41607469.tar.gz |
powerpc/mpc85xx: Add CPU hotplug support for E6500
Support Freescale E6500 core-based platforms, like t4240.
Support disabling/enabling individual CPU thread dynamically.
Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/cputhreads.h')
-rw-r--r-- | arch/powerpc/include/asm/cputhreads.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/cputhreads.h b/arch/powerpc/include/asm/cputhreads.h index 81f5b33..666bef4e 100644 --- a/arch/powerpc/include/asm/cputhreads.h +++ b/arch/powerpc/include/asm/cputhreads.h @@ -1,6 +1,7 @@ #ifndef _ASM_POWERPC_CPUTHREADS_H #define _ASM_POWERPC_CPUTHREADS_H +#ifndef __ASSEMBLY__ #include <linux/cpumask.h> /* @@ -103,7 +104,12 @@ static inline u32 get_tensr(void) return 1; } +void book3e_start_thread(int thread, unsigned long addr); void book3e_stop_thread(int thread); +#endif /* __ASSEMBLY__ */ + +#define INVALID_THREAD_HWID 0x0fff + #endif /* _ASM_POWERPC_CPUTHREADS_H */ |