From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:40:51 +0000
Subject: [PATCH] disable kernel build waring
---
kernel/include/linux/stop_machine.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kernel/include/linux/stop_machine.h b/kernel/include/linux/stop_machine.h
index 46a87c8..ddafb3c 100644
--- a/kernel/include/linux/stop_machine.h
+++ b/kernel/include/linux/stop_machine.h
@@ -24,7 +24,6 @@
struct cpu_stop_work {
struct list_head list; /* cpu_stopper->works */
cpu_stop_fn_t fn;
- unsigned long caller;
void *arg;
struct cpu_stop_done *done;
};
@@ -50,8 +49,6 @@
struct cpu_stop_work *work_buf,
struct cpu_stop_done *done);
void cpu_stop_work_wait(struct cpu_stop_work *work_buf);
-
-extern void print_stop_info(const char *log_lvl, struct task_struct *task);
#else /* CONFIG_SMP */
@@ -96,8 +93,6 @@
return false;
}
-
-static inline void print_stop_info(const char *log_lvl, struct task_struct *task) { }
#endif /* CONFIG_SMP */
--
Gitblit v1.6.2