fs/epoll: Do not disable preemption on RT

ep_call_nested() takes a sleeping lock so we can't disable preemption.
The light version is enough since ep_call_nested() doesn't mind beeing
invoked twice on the same CPU.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2011-07-08 16:35:35 +02:00 committed by Alibek Omarov
parent a5850930e9
commit dfd47e14f8
1 changed files with 2 additions and 2 deletions

View File

@ -565,12 +565,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_poll_wakeup_proc, NULL, wq, (void *) (long) this_cpu);
put_cpu();
put_cpu_light();
}
#else