[lkml]   [2001]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: get_current()
John Kingman <> writes:

> I'm trying to write portable driver code.
> What is the status of get_current()? I see that it is defined in

You should always just use "current" from <linux/sched.h>.
get_current() is an internal implementation detail of the architecture.
Don't include <asm/current.h> directly.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.022 / U:3.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site