lkml.org 
[lkml]   [2006]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Fix compile warning about mark_rodata_ro in 2.6.15-mm1 (was: Re: 2.6.15-mm1)
Date
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@gmail.com>
---

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

\
 
 \ /
  Last update: 2006-01-06 00:05    [W:0.078 / U:5.176 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site