]>
Commit | Line | Data |
---|---|---|
1733d4d4 GKH |
1 | From 042d4460b5b4379a12f375045ff9065cf6758735 Mon Sep 17 00:00:00 2001 |
2 | From: Arnd Bergmann <arnd@arndb.de> | |
3 | Date: Tue, 22 Dec 2015 17:25:17 +0200 | |
4 | Subject: stm class: Select CONFIG_SRCU | |
5 | ||
6 | From: Arnd Bergmann <arnd@arndb.de> | |
7 | ||
8 | commit 042d4460b5b4379a12f375045ff9065cf6758735 upstream. | |
9 | ||
10 | The newly added STM code uses SRCU, but does not ensure that | |
11 | this code is part of the kernel: | |
12 | ||
13 | drivers/built-in.o: In function `stm_source_link_show': | |
14 | include/linux/srcu.h:221: undefined reference to `__srcu_read_lock' | |
15 | include/linux/srcu.h:238: undefined reference to `__srcu_read_unlock' | |
16 | drivers/built-in.o: In function `stm_source_link_drop': | |
17 | include/linux/srcu.h:221: undefined reference to `__srcu_read_lock' | |
18 | include/linux/srcu.h:238: undefined reference to `__srcu_read_unlock' | |
19 | ||
20 | This adds a Kconfig 'select' statement like all the other SRCU using | |
21 | drivers have. | |
22 | ||
23 | Signed-off-by: Arnd Bergmann <arnd@arndb.de> | |
24 | Fixes: 7bd1d4093c2f ("stm class: Introduce an abstraction for System Trace Module devices") | |
25 | Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> | |
26 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
27 | ||
28 | --- | |
29 | drivers/hwtracing/stm/Kconfig | 1 + | |
30 | 1 file changed, 1 insertion(+) | |
31 | ||
32 | --- a/drivers/hwtracing/stm/Kconfig | |
33 | +++ b/drivers/hwtracing/stm/Kconfig | |
34 | @@ -1,6 +1,7 @@ | |
35 | config STM | |
36 | tristate "System Trace Module devices" | |
37 | select CONFIGFS_FS | |
38 | + select SRCU | |
39 | help | |
40 | A System Trace Module (STM) is a device exporting data in System | |
41 | Trace Protocol (STP) format as defined by MIPI STP standards. |