--- zzzz-none-000/linux-2.6.28.10/include/linux/workqueue.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/workqueue.h 2009-10-14 11:28:36.000000000 +0000 @@ -227,7 +227,7 @@ /* Obsolete. use cancel_delayed_work_sync() */ static inline -void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq, +void cancel_rearming_delayed_workqueue(struct workqueue_struct *wq __attribute__ ((unused)), struct delayed_work *work) { cancel_delayed_work_sync(work); @@ -241,7 +241,7 @@ } #ifndef CONFIG_SMP -static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg) +static inline long work_on_cpu(unsigned int cpu __attribute__ ((unused)), long (*fn)(void *), void *arg) { return fn(arg); }