[MIPS] Ocelot G: Fix build error and numerous warnings.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 12:52:16 +0000 (12:52 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Oct 2006 21:41:29 +0000 (21:41 +0000)
commit6ceb6d3ab2d402cea326320a4143db90a66fd216
tree9739833d5e3df14f2f1ae37b9a693c7a72f9a1a7
parentc39c30da2dad1aa3fb61862039634e9480a16fde
[MIPS] Ocelot G: Fix build error and numerous warnings.

The cause of the build errors was a 64-bit kernel being configured in
ocelot_g_defconfig without the code being 64-bit proof.  Fixed for now
by limiting 64-bit selection to SYS_SUPPORTS_64BIT_KERNEL if BROKEN.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/momentum/ocelot_g/ocelot_pld.h
arch/mips/momentum/ocelot_g/setup.c