linux/drivers/virt/vboxguest
Arnd Bergmann b8ae30a702 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>
2018-11-11 12:58:27 -08:00
..
Kconfig
Makefile
vboxguest_core.c vbox: fix link error with 'gcc -Og' 2018-11-11 12:58:27 -08:00
vboxguest_core.h virt: vbox: Add vbg_req_free() helper function 2018-04-23 13:41:55 +02:00
vboxguest_linux.c virt: vbox: Only copy_from_user the request-header once 2018-05-14 16:31:59 +02:00
vboxguest_utils.c virt: vbox: Use __get_free_pages instead of kmalloc for DMA32 memory 2018-04-23 13:41:55 +02:00
vboxguest_version.h
vmmdev.h