Re: [PATCH 2.6.27-rc3 26/29] mdb: export task_curr

From: jmerkey
Date: Fri Aug 15 2008 - 12:37:50 EST


>
>> >> +EXPORT_SYMBOL_GPL(task_curr);
>> >> +#endif
>> >
>> > We usually don't export symbols conditionally, especially in core
>> kernel
>> > code.
>> >
>>
>
> FYI, there's a built-in kernel debugger in the upstream kernel already:
> kernel/kgdb.c - and it does not need that export.

I do not need this export either -- unless mdb runs as a kernel module -
which kdb and kgdb cannot do today ...

Jeff

>
> Ingo
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/