Re: (UPDATE): Re: [ANNOUNCE] WOLK v4.4s FINAL - Server Edition

Gary Peck <[email protected]>
Newsgroups gmane.linux.wolk.devel
Message-ID <[email protected]>
I had to apply the attached patch to get the kernel to compile. gcc
doesn't like doing a ?: test on an undefined function apparently. This
is on a RedHat Rawhide system with compat-gcc-7.3-2.96.118 (I'm using
gcc 2.96 to compile the kernels).

gary
wolk-speedstep.patch (text/plain, 427 B)
--- arch/i386/kernel/speedstep.c.orig	2003-07-30 09:38:17.000000000 -0700
+++ arch/i386/kernel/speedstep.c	2003-07-30 09:39:25.000000000 -0700
@@ -702,7 +702,11 @@
 	.target 	= speedstep_target,
 	.init		= speedstep_cpu_init,
 	.exit		= NULL,
-	.policy		= (speedstep_set_default? speedstep_set_default : NULL),
+#ifndef MODULE
+	.policy		= speedstep_set_default,
+#else
+	.policy		= NULL,
+#endif
 	.name		= "speedstep",
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.