[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 2.6.5-mm2 (build error in arch/ia64/kernel/setup.c)
I get a build error in arch/ia64/kernel/setup.c.

This patch fixes it for SN2 machines, but I don't claim it is Correct.
In fact, I think it is Wrong.

There have been changes to setup_arch(), including, apparently, the
elimination of the cmdline_p argument. Unforunately, that argument
was not completely purged from the function.

platform_setup on SN2 is #define'd to sn_setup, which still takes
the argument, but does not use it. So this hack works. I don't
know about the other IA64s.

I'm not sure exactly what was intended with these changes, so I
haven't attempted a Correct patch.


--- arch/ia64/kernel/setup.c.old 2004-04-07 02:00:01.000000000 -0700
+++ arch/ia64/kernel/setup.c 2004-04-07 01:37:15.000000000 -0700
@@ -361,7 +361,7 @@
/* enable IA-64 Machine Check Abort Handling */

- platform_setup(cmdline_p);
+ platform_setup((void *) 0);

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 14:02    [W:0.066 / U:2.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site