~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/m32r/include/asm/smp.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
static __inline__ unsigned int num_booting_cpus(void)
83
83
{
84
 
        return cpus_weight(cpu_callout_map);
 
84
        return cpumask_weight(&cpu_callout_map);
85
85
}
86
86
 
87
87
extern void smp_send_timer(void);
88
 
extern unsigned long send_IPI_mask_phys(cpumask_t, int, int);
 
88
extern unsigned long send_IPI_mask_phys(const cpumask_t*, int, int);
89
89
 
90
90
extern void arch_send_call_function_single_ipi(int cpu);
91
91
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
94
94
 
95
95
#define NO_PROC_ID (0xff)       /* No processor magic marker */
96
96
 
97
 
#define PROC_CHANGE_PENALTY     (15)    /* Schedule penalty */
98
 
 
99
97
/*
100
98
 * M32R-mp IPI
101
99
 */