Skip to contentSkip to conversation

2.6.24.3-rt3 failure on ARM

PATCH Juergen Beisert 1 participant 1 message Mar 17, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

using 2.6.24.3-rt3 for ARM gives me this additional error:

[...]

  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o

kernel/sysctl.c:356: error: 'prof_pid' undeclared here (not in a function) make[2]: *** [kernel/sysctl.o] Error 1
make[1]: *** [kernel] Error 2

Would the patch below a correct fix?

sysctl.c renamed from sysctl.c.orig +2 -0
Index: kernel/sysctl.c
===================================================================
@@ -56,6 +56,8 @@
 #include <asm/stacktrace.h>
 #endif
 
+#include "linux/profile.h"
+
 static int deprecated_sysctl_warning(struct __sysctl_args *args);
 
 #if defined(CONFIG_SYSCTL)

Juergen

Signature · 9 lines
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html