--- zzzz-none-000/linux-3.10.107/include/linux/compaction.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/compaction.h 2021-11-10 11:53:56.000000000 +0000 @@ -110,12 +110,12 @@ #else -static inline int compaction_register_node(struct node *node) +static inline int compaction_register_node(struct node *node __maybe_unused) { return 0; } -static inline void compaction_unregister_node(struct node *node) +static inline void compaction_unregister_node(struct node *node __maybe_unused) { } #endif /* CONFIG_COMPACTION && CONFIG_SYSFS && CONFIG_NUMA */