summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-08 16:35:35 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-06-06 21:27:55 -0400
commit6b3a969c833150e3a875e885526386d30181a3d7 (patch)
treed169047070119425e9a24b0beac6c8af4ed432fc /fs
parent217995b7443777f7ec8ad3633378ac7317f05b5c (diff)
downloadlinux-rt-6b3a969c833150e3a875e885526386d30181a3d7.tar.gz
epoll.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/eventpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index eedec84c1809..a1f6e7257633 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -495,12 +495,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)