* [patch] 2.5.70-mm2: `__raw_{read,write}ll' undefinded references
[not found] <20030529012914.2c315dad.akpm@digeo.com>
@ 2003-05-30 8:05 ` Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-05-30 8:05 UTC (permalink / raw)
To: Andrew Morton, linux-mtd; +Cc: linux-kernel
It seems the following compile error comes from Linus' tree:
<-- snip -->
...
CC drivers/mtd/maps/map_funcs.o
drivers/mtd/maps/map_funcs.c: In function `simple_map_read64':
drivers/mtd/maps/map_funcs.c:38: warning: implicit declaration of
function `__raw_readll'
drivers/mtd/maps/map_funcs.c: In function `simple_map_write64':
drivers/mtd/maps/map_funcs.c:65: warning: implicit declaration of
function `__raw_writell'
...
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x669e8e): In function `simple_map_read64':
: undefined reference to `__raw_readll'
drivers/built-in.o(.text+0x669f74): In function `simple_map_write64':
: undefined reference to `__raw_writell'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The fix is simple:
--- linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c.old 2003-05-30 09:47:04.000000000 +0200
+++ linux-2.5.70-mm2/drivers/mtd/maps/map_funcs.c 2003-05-30 09:47:49.000000000 +0200
@@ -13,6 +13,7 @@
#include <asm/io.h>
#include <linux/mtd/map.h>
+#include <linux/mtd/cfi.h>
static u8 simple_map_read8(struct map_info *map, unsigned long ofs)
{
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-30 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20030529012914.2c315dad.akpm@digeo.com>
2003-05-30 8:05 ` [patch] 2.5.70-mm2: `__raw_{read,write}ll' undefinded references Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox