diff options
Diffstat (limited to 'arch/um/kernel/irq.c')
-rw-r--r-- | arch/um/kernel/irq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index b40dac71e25b..d532377f5808 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c | |||
@@ -384,10 +384,8 @@ EXPORT_SYMBOL(deactivate_fd); | |||
384 | */ | 384 | */ |
385 | int deactivate_all_fds(void) | 385 | int deactivate_all_fds(void) |
386 | { | 386 | { |
387 | unsigned long flags; | ||
388 | struct irq_entry *to_free; | 387 | struct irq_entry *to_free; |
389 | 388 | ||
390 | spin_lock_irqsave(&irq_lock, flags); | ||
391 | /* Stop IO. The IRQ loop has no lock so this is our | 389 | /* Stop IO. The IRQ loop has no lock so this is our |
392 | * only way of making sure we are safe to dispose | 390 | * only way of making sure we are safe to dispose |
393 | * of all IRQ handlers | 391 | * of all IRQ handlers |
@@ -404,7 +402,6 @@ int deactivate_all_fds(void) | |||
404 | to_free = to_free->next; | 402 | to_free = to_free->next; |
405 | } | 403 | } |
406 | garbage_collect_irq_entries(); | 404 | garbage_collect_irq_entries(); |
407 | spin_unlock_irqrestore(&irq_lock, flags); | ||
408 | os_close_epoll_fd(); | 405 | os_close_epoll_fd(); |
409 | return 0; | 406 | return 0; |
410 | } | 407 | } |