Commit d3a7fafa authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[PATCH] flag type cleanup

This fixes various instances of the interrupt flag variable not being
the proper `unsigned long', most notably kernel/softirq.c ...
parent 2a3f7d06
......@@ -1307,7 +1307,7 @@ static int cmd_out_T(void)
static int cc_DriveReset(void);
int i, j, l=0, m, ntries;
long flags;
unsigned long flags;
D_S[d].error_state=0;
D_S[d].b3=0;
......
......@@ -14115,7 +14115,7 @@ printk("ncr_user_command: data=%ld\n", uc->data);
if (len)
return -EINVAL;
else {
long flags;
unsigned long flags;
NCR_LOCK_NCB(np, flags);
ncr_usercmd (np);
......
......@@ -1686,7 +1686,7 @@ printk("sym_user_command: data=%ld\n", uc->data);
if (len)
return -EINVAL;
else {
long flags;
unsigned long flags;
SYM_LOCK_HCB(np, flags);
sym_exec_user_command (np, uc);
......
......@@ -25,7 +25,7 @@ char * bdup_printf (char *format, ...)
va_list args;
int i;
char *path;
long flags;
unsigned long flags;
spin_lock_irqsave(&kml_lock, flags);
va_start(args, format);
......
......@@ -59,7 +59,7 @@ static inline void wakeup_softirqd(unsigned cpu)
asmlinkage void do_softirq()
{
__u32 pending;
long flags;
unsigned long flags;
__u32 mask;
int cpu;
......@@ -129,7 +129,7 @@ inline void cpu_raise_softirq(unsigned int cpu, unsigned int nr)
void raise_softirq(unsigned int nr)
{
long flags;
unsigned long flags;
local_irq_save(flags);
cpu_raise_softirq(smp_processor_id(), nr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment