diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-08 16:35:35 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:57 -0600 |
commit | 54d1024d538a3e7c08ab0bb2bdb0902534ef5e15 (patch) | |
tree | c8d98e4a0866a8ed58d55f56b4cc3c124f223656 | |
parent | 8efbe1b8c91c79b908ffe19feef0abf8f5a7dd6e (diff) |
epoll.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | fs/eventpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 828e750af23a..53d6a207e93a 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -438,12 +438,12 @@ static int ep_poll_wakeup_proc(void *priv, void *cookie, int call_nests) */ static void ep_poll_safewake(wait_queue_head_t *wq) { - int this_cpu = get_cpu(); + int this_cpu = get_cpu_light(); ep_call_nested(&poll_safewake_ncalls, EP_MAX_NESTS, ep_poll_wakeup_proc, NULL, wq, (void *) (long) this_cpu); - put_cpu(); + put_cpu_light(); } /* |