[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020808140139v691e6590idd79995168af4e9e@mail.gmail.com>
Date: Thu, 14 Aug 2008 11:39:00 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: jmerkey@...fmountaingroup.com
Cc: linux-kernel@...r.kernel.org, "Ingo Molnar" <mingo@...e.hu>
Subject: Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
On Thu, Aug 14, 2008 at 9:14 AM, <jmerkey@...fmountaingroup.com> wrote:
> export the task_curr function to the module based kernel debugger to enable
> process back tracing and state display.
>
> Signed-off-by: Jeffrey Vernon Merkey (jmerkey@...fmountaingroup.com)
>
> --- a/kernel/sched.c 2008-08-13 14:22:32.000000000 -0600
> +++ b/kernel/sched.c 2008-08-13 11:56:03.000000000 -0600
> @@ -1736,6 +1736,9 @@
> {
> return cpu_curr(task_cpu(p)) == p;
> }
> +#if defined(CONFIG_MDB_MODULE)
> +EXPORT_SYMBOL_GPL(task_curr);
> +#endif
We usually don't export symbols conditionally, especially in core kernel code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists