LKML Archive on
help / color / mirror / Atom feed
From: "Leon Woestenberg" <>
Cc: "Steven Rostedt" <>
Subject: [PATCH] Fix build, missing profile.h include in kernel/sysctl.c (against
Date: Fri, 29 Feb 2008 23:11:40 +0100	[thread overview]
Message-ID: <> (raw)

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>


                 reply	other threads:[~2008-02-29 22:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH] Fix build, missing profile.h include in kernel/sysctl.c (against' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).