Move initcall_level_names[] to __initdata section for the moment as g++
doesn't want to put it in __initconst:

        init/main.c:876:20: error: 'initcall_level_names' causes a section type 
conflict with '__setup_str_set_debug_rodata'

Signed-off-by: David Howells <dhowe...@redhat.com>
---

 init/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/main.c b/init/main.c
index 642e917387db..6d404fc07007 100644
--- a/init/main.c
+++ b/init/main.c
@@ -873,7 +873,7 @@ static initcall_t *initcall_levels[] __initdata = {
 };
 
 /* Keep these in sync with initcalls in include/linux/init.h */
-static const char *initcall_level_names[] __initconst = {
+static const char *initcall_level_names[] __initdata = {
        "early",
        "core",
        "postcore",

Reply via email to