]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
epoll.patch
authorThomas Gleixner <tglx@linutronix.de>
Fri, 8 Jul 2011 14:35:35 +0000 (16:35 +0200)
committerMichal Sojka <sojka@merica.cz>
Sun, 13 Sep 2015 07:47:29 +0000 (09:47 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/eventpoll.c

index 1e009cad8d5cac61832ebb3916033780f2fec1a6..d0c12504d3b421bf1269c4caa9519b0f48b467fd 100644 (file)
@@ -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)