--- zzzz-none-000/linux-2.6.28.10/include/linux/nodemask.h 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/include/linux/nodemask.h 2009-10-14 11:28:36.000000000 +0000 @@ -410,20 +410,20 @@ extern int nr_node_ids; #else -static inline int node_state(int node, enum node_states state) +static inline int node_state(int node, enum node_states state __attribute__ ((unused))) { return node == 0; } -static inline void node_set_state(int node, enum node_states state) +static inline void node_set_state(int node __attribute__ ((unused)), enum node_states state __attribute__ ((unused))) { } -static inline void node_clear_state(int node, enum node_states state) +static inline void node_clear_state(int node __attribute__ ((unused)), enum node_states state __attribute__ ((unused))) { } -static inline int num_node_state(enum node_states state) +static inline int num_node_state(enum node_states state __attribute__ ((unused))) { return 1; }