diff options
| author | Michael S. Tsirkin <[email protected]> | 2010-01-21 01:28:45 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-01-21 01:28:45 -0800 |
| commit | 17660f81243e998f36257881ac3ae61685bf91c1 (patch) | |
| tree | a716bacdf97e7baff157b0ec0cb2f77ebe54c09c /include/linux/string.h | |
| parent | 4b258461c0b31ded170a1a56b944b0fded1c887b (diff) | |
vhost: fix TUN=m VHOST_NET=y
drivers/built-in.o: In function `get_tun_socket':
net.c:(.text+0x15436e): undefined reference to `tun_get_socket'
If tun is a module, vhost must be a module, too.
If tun is built-in or disabled, vhost can be built-in.
Note: TUN || !TUN might look a bit strange until you realize
that boolean logic rules do not apply for tristate variables.
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions