[PATCH 5/9] Small updates for Freescale MPC52xx

From: Sylvain Munaut
Date: Tue Sep 14 2004 - 07:21:27 EST


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/14 00:25:36+02:00 tnt@xxxxxxxxxx
# ppc: Fix spurious iounmap in Freescale MPC52xx syslib
# # Signed-off-by: Sylvain Munaut <tnt@xxxxxxxxxx>
#
# arch/ppc/syslib/mpc52xx_setup.c
# 2004/09/14 00:25:27+02:00 tnt@xxxxxxxxxx +0 -2
# ppc: Fix spurious iounmap in Freescale MPC52xx syslib
#
diff -Nru a/arch/ppc/syslib/mpc52xx_setup.c b/arch/ppc/syslib/mpc52xx_setup.c
--- a/arch/ppc/syslib/mpc52xx_setup.c 2004-09-14 12:47:51 +02:00
+++ b/arch/ppc/syslib/mpc52xx_setup.c 2004-09-14 12:47:51 +02:00
@@ -148,8 +148,6 @@
if (((sdram_config_1 & 0x1f) >= 0x13) &&
((sdram_config_1 & 0xfff00000) == ramsize))
ramsize += 1 << ((sdram_config_1 & 0xf) + 17);
-
- iounmap(mmap_ctl);
}

return ramsize;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/