--- linux-4.9.9-gentoo/include/linux/printk.h 2016-12-11 20:17:54.000000000 +0100 +++ linux-4.9.11-gentoo/include/linux/printk.h 2017-02-19 19:09:11.840179914 +0100 @@ -124,7 +124,7 @@ }) #ifdef CONFIG_EARLY_PRINTK -extern asmlinkage __printf(1, 2) +asmlinkage __printf(1, 2) void early_printk(const char *fmt, ...); #else static inline __printf(1, 2) __cold @@ -255,7 +255,7 @@ } #endif -extern asmlinkage void dump_stack(void) __cold; +asmlinkage void dump_stack(void) __cold; #ifndef pr_fmt #define pr_fmt(fmt) fmt