--- zzzz-none-000/linux-2.6.28.10/include/linux/node.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/node.h 2010-03-10 09:25:12.000000000 +0000 @@ -36,19 +36,19 @@ extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); #else -static inline int register_one_node(int nid) +static inline int register_one_node(int nid __attribute__((unused))) { return 0; } -static inline int unregister_one_node(int nid) +static inline int unregister_one_node(int nid __attribute__((unused))) { return 0; } -static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) +static inline int register_cpu_under_node(unsigned int cpu __attribute__((unused)), unsigned int nid __attribute__((unused))) { return 0; } -static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) +static inline int unregister_cpu_under_node(unsigned int cpu __attribute__((unused)), unsigned int nid __attribute__((unused))) { return 0; }