Fixes a compilation error: CC lockdep.o In file included from lockdep.c:28:0: ../../../kernel/locking/lockdep.c:89:13: error: expected declaration specifiers or ‘...’ before string constant early_param("crossrelease_fullstack", allow_crossrelease_fullstack); ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../kernel/locking/lockdep.c:89:39: error: expected declaration specifiers or ‘...’ before ‘allow_crossrelease_fullstack’ early_param("crossrelease_fullstack", allow_crossrelease_fullstack); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Sasha Levin <alexander.le...@verizon.com> --- tools/include/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/include/linux/kernel.h b/tools/include/linux/kernel.h index 0ad884452c5c..2bd8c1fc4a03 100644 --- a/tools/include/linux/kernel.h +++ b/tools/include/linux/kernel.h @@ -117,4 +117,6 @@ int scnprintf(char * buf, size_t size, const char * fmt, ...); #define current_gfp_context(k) 0 #define synchronize_sched() +#define early_param(str, fn) + #endif -- 2.11.0