Though from a hardware perspective it would be sensible to use only a
32-bit unsigned int type Linux defines interrupt flags to be stored in
an unsigned long and nothing else.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
case FPC_EIR: { /* implementation / version register */
unsigned int flags;
#ifdef CONFIG_MIPS_MT_SMTC
case FPC_EIR: { /* implementation / version register */
unsigned int flags;
#ifdef CONFIG_MIPS_MT_SMTC
+ unsigned long irqflags;
unsigned int mtflags;
#endif /* CONFIG_MIPS_MT_SMTC */
unsigned int mtflags;
#endif /* CONFIG_MIPS_MT_SMTC */
void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle)
{
extern u32 kernelsp[NR_CPUS];
void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle)
{
extern u32 kernelsp[NR_CPUS];
int mtflags;
LOCK_MT_PRA();
int mtflags;
LOCK_MT_PRA();
{
int tcstatus;
struct smtc_ipi *pipi;
{
int tcstatus;
struct smtc_ipi *pipi;
int mtflags;
if (cpu == smp_processor_id()) {
int mtflags;
if (cpu == smp_processor_id()) {
struct smtc_ipi *pipi;
unsigned long tcstatus;
int sent;
struct smtc_ipi *pipi;
unsigned long tcstatus;
int sent;
unsigned int mtflags;
unsigned int vpflags;
unsigned int mtflags;
unsigned int vpflags;
{ \
unsigned int res; \
unsigned int omt; \
{ \
unsigned int res; \
unsigned int omt; \
\
local_irq_save(flags); \
omt = __dmt(); \
\
local_irq_save(flags); \
omt = __dmt(); \
{ \
unsigned int res; \
unsigned int omt; \
{ \
unsigned int res; \
unsigned int omt; \
\
local_irq_save(flags); \
omt = __dmt(); \
\
local_irq_save(flags); \
omt = __dmt(); \
{ \
unsigned int res; \
unsigned int omt; \
{ \
unsigned int res; \
unsigned int omt; \
\
local_irq_save(flags); \
\
\
local_irq_save(flags); \
\