LKML Archive on
help / color / mirror / Atom feed
* [PATCH] Fix build, missing profile.h include in kernel/sysctl.c (against
@ 2008-02-29 22:11 Leon Woestenberg
  0 siblings, 0 replies; only message in thread
From: Leon Woestenberg @ 2008-02-29 22:11 UTC (permalink / raw)
  To: linux-rt-users, linux-kernel; +Cc: Steven Rostedt

Build fix for kernel/sysctl.c:356: error: 'prof_pid' undeclared here
(not in a function).
The fix is to include <linux/profile.h> which defines prof_pid as external.
Patch is against

Signed-off-by: Leon Woestenberg <>

Index: linux-
--- linux- 2008-02-29 00:52:45.000000000 +0100
+++ linux-      2008-02-29 00:52:59.000000000 +0100
@@ -47,6 +47,7 @@
 #include <linux/acpi.h>
 #include <linux/reboot.h>
 #include <linux/ftrace.h>
+#include <linux/profile.h>

 #include <asm/uaccess.h>
 #include <asm/processor.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-29 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-29 22:11 [PATCH] Fix build, missing profile.h include in kernel/sysctl.c (against Leon Woestenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).