[PATCH] Fix compile warning about mark_rodata_ro in 2.6.15-mm1 (was: Re: 2.6.15-mm1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 05 January 2006 15:22, Andrew Morton wrote:
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15/2.6.15-mm1/
> 
I hit a small compile warning with 2.6.15-mm1 : 

 init/main.c: In function `init':
 init/main.c:714: warning: implicit declaration of function `mark_rodata_ro'

Here's a patch.


Signed-off-by: Jesper Juhl <[email protected]>
---

--- linux-2.6.15-mm1-orig/init/main.c	2006-01-05 18:15:43.000000000 +0100
+++ linux-2.6.15-mm1/init/main.c	2006-01-05 23:57:12.000000000 +0100
@@ -53,6 +53,7 @@
 #include <asm/bugs.h>
 #include <asm/setup.h>
 #include <asm/sections.h>
+#include <asm/cacheflush.h>
 
 /*
  * This is one of the first .c files built. Error out early

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux