Commit db944e64 authored by David S. Miller's avatar David S. Miller

kernel/module.c: Kill warnings on egcs-2.9x and 64-bit.

parent c0bbf3c8
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#if 0 #if 0
#define DEBUGP printk #define DEBUGP printk
#else #else
#define DEBUGP(fmt , ...) #define DEBUGP(fmt , a...)
#endif #endif
extern const struct exception_table_entry __start___ex_table[]; extern const struct exception_table_entry __start___ex_table[];
...@@ -285,7 +285,7 @@ static int stop_refcounts(void) ...@@ -285,7 +285,7 @@ static int stop_refcounts(void)
for (i = 0; i < NR_CPUS; i++) { for (i = 0; i < NR_CPUS; i++) {
if (i == cpu || !cpu_online(i)) if (i == cpu || !cpu_online(i))
continue; continue;
ret = kernel_thread(stopref, (void *)i, CLONE_KERNEL); ret = kernel_thread(stopref, (void *)(long)i, CLONE_KERNEL);
if (ret < 0) if (ret < 0)
break; break;
stopref_num_threads++; stopref_num_threads++;
......
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