[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080525170718.GD1791@cs181133002.pp.htv.fi>
Date: Sun, 25 May 2008 20:07:24 +0300
From: Adrian Bunk <adrian.bunk@...ial.fi>
To: Chris Dearman <chris@...s.com>,
Atsushi Nemoto <anemo@....ocn.ne.jp>,
Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org
Subject: mips: CONF_CM_DEFAULT build error
Commit 351336929ccf222ae38ff0cb7a8dd5fd5c6236a0
([MIPS] Allow setting of the cache attribute at run time.)
causes the following build error with pnx8550-jbs_defconfig
and pnx8550-stb810_defconfig:
<-- snip -->
...
CC arch/mips/nxp/pnx8550/stb810/board_setup.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c: In function 'board_setup':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c:42: error: 'PAGE_CACHABLE_DEFAULT' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c:42: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/nxp/pnx8550/stb810/board_setup.c:42: error: for each function it appears in.)
make[2]: *** [arch/mips/nxp/pnx8550/stb810/board_setup.o] Error 1
<-- snip -->
The problem is due to the following:
$ grep -r CONF_CM_DEFAULT *
arch/mips/nxp/pnx8550/jbs/board_setup.c: config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) |
arch/mips/nxp/pnx8550/jbs/board_setup.c: (CONF_CM_DEFAULT<<28));
arch/mips/nxp/pnx8550/stb810/board_setup.c: config0 |= (CONF_CM_DEFAULT | (CONF_CM_DEFAULT<<25) |
arch/mips/nxp/pnx8550/stb810/board_setup.c: (CONF_CM_DEFAULT<<28));
include/asm-mips/pgtable-bits.h:#define CONF_CM_DEFAULT (PAGE_CACHABLE_DEFAULT>>_CACHE_SHIFT)
$ grep -r PAGE_CACHABLE_DEFAULT *
include/asm-mips/pgtable-bits.h:#define CONF_CM_DEFAULT (PAGE_CACHABLE_DEFAULT>>_CACHE_SHIFT)
$
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
--
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