mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/block/rd.c rd_size reference problem of ARM
@ 2005-05-07  8:12 Hyok S. Choi
  2005-05-07  8:40 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Hyok S. Choi @ 2005-05-07  8:12 UTC (permalink / raw)
  To: linux-arm-kernel, Linux-Kernel List

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-07  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07  8:12 drivers/block/rd.c rd_size reference problem of ARM Hyok S. Choi
2005-05-07  8:40 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome