summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-08 16:35:35 +0200
committerClark Williams <williams@redhat.com>2012-04-13 11:01:46 -0500
commitc511c37c38743d146ffd75e763eba299be0e8c82 (patch)
tree29021fc446ffc7c9adee651d06a6e8feeb9215f0
parent48737984f5596da6bb5abee5a2d02fc9a0a1bd48 (diff)
epoll.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--fs/eventpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index 739b0985b398..95518729a3b2 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -488,12 +488,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();
}
static void ep_remove_wait_queue(struct eppoll_entry *pwq)