drivers/block/rd.c rd_size reference problem of ARM

From: Hyok S. Choi
Date: Sat May 07 2005 - 03:36:22 EST


the variable "rd_size" of drivers/block/rd.c is changed to be "static" in
2.6.12-rc3-mm3.
it causes compilation error to ARM architecture because of the reference of
that.

I blocked the reference as below, for compilation, but need to refine.

==================
diff -Naur linux-2.6.12-rc3-mm3/arch/arm/kernel/setup.c
linux-2.6.12-rc3-mm3-hsc0/arch/arm/kernel/setup.c
--- linux-2.6.12-rc3-mm3/arch/arm/kernel/setup.c 2005-05-06
09:53:10.000000000 +0900
+++ linux-2.6.12-rc3-mm3-hsc0/arch/arm/kernel/setup.c 2005-05-06
20:25:46.000000000 +0900
@@ -429,9 +465,13 @@
rd_prompt = prompt;
rd_doload = doload;

+ /* FIXME: rd_size became 'static'. (drivers/block/rd.c) */
+#if 0
if (rd_sz)
rd_size = rd_sz;
#endif
+
+#endif
}

static void __init

---
Hyok S. Choi
[Linux 2.6 for MMU-less ARM Project] http://opensrc.sec.samsung.com/

-
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/