x86/hyperv/vtl: Add noop for realmode pointers
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Mon, 24 Apr 2023 10:10:16 +0000 (03:10 -0700)
committerWei Liu <wei.liu@kernel.org>
Mon, 8 May 2023 16:46:43 +0000 (16:46 +0000)
commitcb6aeeb69af06b09e687fbef4da36a81c36b4994
tree38ec5ba26b737ed5c5dab1ca2408663fb199acc2
parentac9a78681b921877518763ba0e89202254349d1b
x86/hyperv/vtl: Add noop for realmode pointers

Assign the realmode pointers to noop, instead of NULL to fix kernel panic.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1682331016-22561-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/hyperv/hv_vtl.c