Skip to contentSkip to conversation

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

DISCUSSION Hyok S. Choi 2 participants 2 messages May 7, 2005

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 6 lines · Hyok S. Choi

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.

The change which caused this has been removed in -rc4, and Andrew is probably going to drop this as well.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core