aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/buddy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/buddy.c b/core/buddy.c
index 1f433dd..b36e407 100644
--- a/core/buddy.c
+++ b/core/buddy.c
@@ -70,8 +70,8 @@ static void buddy_check_alloc_down(struct buddy *b, unsigned int node)
}
}
#else
-static inline void buddy_check_alloc(struct buddy *b, unsigned int node) {}
-static inline void buddy_check_alloc_down(struct buddy *b, unsigned int node) {}
+static inline void buddy_check_alloc(struct buddy *b __unused, unsigned int node __unused) {}
+static inline void buddy_check_alloc_down(struct buddy *b __unused, unsigned int node __unused) {}
#endif
int buddy_alloc(struct buddy *b, unsigned int order)