Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1481505 > unrolled thread

[PATCH] relay: select CONFIG_IRQ_WORK

Started byArnd Bergmann <arnd@arndb.de>
First post2016-09-12 17:50 +0200
Last post2016-09-12 17:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] relay: select CONFIG_IRQ_WORK Arnd Bergmann <arnd@arndb.de> - 2016-09-12 17:50 +0200

#1481505 — [PATCH] relay: select CONFIG_IRQ_WORK

FromArnd Bergmann <arnd@arndb.de>
Date2016-09-12 17:50 +0200
Subject[PATCH] relay: select CONFIG_IRQ_WORK
Message-ID<sgBED-5cu-59@gated-at.bofh.it>
The relay code was changed to use irq_work, and it now fails to build
if that is disabled:

kernel/relay.o: In function `__relay_reset':
relay.c:(.text.__relay_reset+0xb0): undefined reference to `irq_work_sync'
kernel/relay.o: In function `relay_close_buf':
relay.c:(.text.relay_close_buf+0x14): undefined reference to `irq_work_sync'
kernel/relay.o: In function `relay_switch_subbuf':

This adds the necessary Kconfig select statement.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: c37d49250a7b ("relay: Use irq_work instead of plain timer for deferred wakeup")
---
 init/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index 3a00753bc38e..602c42bf1d30 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1276,6 +1276,7 @@ config SYSFS_DEPRECATED_V2
 
 config RELAY
 	bool "Kernel->user space relay support (formerly relayfs)"
+	select IRQ_WORK
 	help
 	  This option enables support for relay interface support in
 	  certain file systems (such as debugfs).
-- 
2.9.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web