--- a/include/linux/log2.h	2016-02-25 21:01:36.000000000 +0100
+++ b/include/linux/log2.h	2020-01-03 14:59:54.572400301 +0100
@@ -18,7 +18,6 @@
 /*
  * deal with unrepresentable constant logarithms
  */
-extern __attribute__((const, noreturn))
 int ____ilog2_NaN(void);
 
 /*