summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-11-02 18:38:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-11 23:58:27 +0300
commitb8ae30a7020d61e0504529adf45abb08fa5c59f5 (patch)
treeb118b80157ace12882883d4c3657b366299a2360 /drivers/vhost
parent9e9a615103e5aa209a2dfdf214ad34b187935a99 (diff)
downloadlinux-b8ae30a7020d61e0504529adf45abb08fa5c59f5.tar.xz
vbox: fix link error with 'gcc -Og'
With the new CONFIG_CC_OPTIMIZE_FOR_DEBUGGING option, we get a link error in the vboxguest driver, when that fails to optimize out the call to the compat handler: drivers/virt/vboxguest/vboxguest_core.o: In function `vbg_ioctl_hgcm_call': vboxguest_core.c:(.text+0x1f6e): undefined reference to `vbg_hgcm_call32' Another compile-time check documents better what we want and avoids the error. Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions