[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3737870.23qKxazWvK@wuerfel>
Date: Fri, 28 Nov 2014 00:15:08 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Fengguang Wu <fengguang.wu@...el.com>
Cc: Kevin Cernekee <cernekee@...il.com>, grant.likely@...aro.org,
kbuild-all@...org, gregkh@...uxfoundation.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Hirokazu Takata <takata@...ux-m32r.org>
Subject: Re: [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors
On Thursday 27 November 2014 14:20:34 Fengguang Wu wrote:
> Add CC to Hirokazu.
>
> > Side note for Fengguang: both with and without my patches, m32r modules
> > fail to link using the make.cross script on Ubuntu 14.10:
>
> Yes, the memory_start/memory_end link errors are really old m32r
> specific errors. The config file that can trigger this error is
> m32r-m32104ut_defconfig.
These should be trivial to fix:
diff --git a/arch/m32r/kernel/setup.c b/arch/m32r/kernel/setup.c
index 0392112a5d70..a5ecef7188ba 100644
--- a/arch/m32r/kernel/setup.c
+++ b/arch/m32r/kernel/setup.c
@@ -81,7 +81,10 @@ static struct resource code_resource = {
};
unsigned long memory_start;
+EXPORT_SYMBOL(memory_start);
+
unsigned long memory_end;
+EXPORT_SYMBOL(memory_end);
void __init setup_arch(char **);
int get_cpuinfo(char *);
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists