mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
MIPS: Netlogic: Move from u32 cpumask to cpumask_t
Initial code to support more than 32 cpus. The platform CPU mask is updated from 32-bit mask to cpumask_t. Convert places that use cpu_/cpus_ functions to use cpumask_* functions. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4464 Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
7143246e9a
commit
2a37b1ae44
6 changed files with 86 additions and 55 deletions
|
@ -45,6 +45,8 @@
|
|||
#define BOOT_NMI_HANDLER 8
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <linux/cpumask.h>
|
||||
|
||||
struct irq_desc;
|
||||
extern struct plat_smp_ops nlm_smp_ops;
|
||||
extern char nlm_reset_entry[], nlm_reset_entry_end[];
|
||||
|
@ -52,7 +54,7 @@ void nlm_smp_function_ipi_handler(unsigned int irq, struct irq_desc *desc);
|
|||
void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc);
|
||||
void nlm_smp_irq_init(void);
|
||||
void nlm_boot_secondary_cpus(void);
|
||||
int nlm_wakeup_secondary_cpus(u32 wakeup_mask);
|
||||
int nlm_wakeup_secondary_cpus(void);
|
||||
void nlm_rmiboot_preboot(void);
|
||||
|
||||
static inline void
|
||||
|
@ -71,6 +73,7 @@ unsigned int nlm_get_cpu_frequency(void);
|
|||
|
||||
extern unsigned long nlm_common_ebase;
|
||||
extern int nlm_threads_per_core;
|
||||
extern uint32_t nlm_cpumask, nlm_coremask;
|
||||
extern uint32_t nlm_coremask;
|
||||
extern cpumask_t nlm_cpumask;
|
||||
#endif
|
||||
#endif /* _NETLOGIC_COMMON_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue