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

From: Jesper Juhl
Date: Thu Jan 05 2006 - 18:01:40 EST


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 <jesper.juhl@xxxxxxxxx>
---

--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/