static void __init
wait_boot_cpu_to_stop(int cpuid)
{
- long stop = jiffies + 10*HZ;
+ unsigned long stop = jiffies + 10*HZ;
while (time_before(jiffies, stop)) {
if (!smp_secondary_alive)
{
struct percpu_struct *cpu;
struct pcb_struct *hwpcb, *ipcb;
- long timeout;
+ unsigned long timeout;
cpu = (struct percpu_struct *)
((char*)hwrpb
smp_boot_one_cpu(int cpuid)
{
struct task_struct *idle;
- long timeout;
+ unsigned long timeout;
/* Cook up an idler for this guy. Note that the address we
give to kernel_thread is irrelevant -- it's going to start
int wait, unsigned long to_whom)
{
struct smp_call_struct data;
- long timeout;
+ unsigned long timeout;
int num_cpus_to_call;
data.func = func;