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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user