summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/cpu.h
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2016-03-03 15:01:41 +0300
committerThomas Gleixner <tglx@linutronix.de>2016-06-10 12:39:09 +0300
commitcf2cf0f50c14e86e04cda2c684357eed77922666 (patch)
tree813cf2759a4d5174ee0ce847af3713e4a817d47e /arch/x86/include/asm/cpu.h
parent7faf90ef995ea470f32f43810266ece8ac8ba6c7 (diff)
downloadlinux-cf2cf0f50c14e86e04cda2c684357eed77922666.tar.xz
lguest: Read offset of device_cap later
Read the offset of the capability with type VIRTIO_PCI_CAP_DEVICE_CFG only when we're sure we're going to need it. Which is when all checks have passed and we know we have a virtio console with an emerg_wr field. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: lguest@lists.ozlabs.org Link: http://lkml.kernel.org/r/1457006501-5377-3-git-send-email-pebolle@tiscali.nl Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/cpu.h')
0 files changed, 0 insertions, 0 deletions