summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-08 14:35:35 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:43 (GMT)
commitc5c2cb498c4b1f3ea880025199f0016a734c027f (patch)
tree9f40d58342294c931154c353a9cbaf8cfa345faa /fs
parent6f72edd223def8b879b10745239b9b7e2f16788f (diff)
downloadlinux-fsl-qoriq-c5c2cb498c4b1f3ea880025199f0016a734c027f.tar.xz
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 d76c974..9691a6e 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -505,12 +505,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)