hv: fix host call stack dump issue

As scheduler uses its own stack for now,
there is no need to check stack validity,
so wipe it out.

Tracked-On: #2455
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Tw
2019-01-29 21:30:15 +08:00
committed by wenlingz
parent 5214a60bbf
commit efc64d778f
2 changed files with 7 additions and 15 deletions

View File

@@ -13,7 +13,7 @@
{ \
asm volatile ("movq %0, %%rsp\n" \
"pushq %1\n" \
"call *%2\n" \
"jmpq *%2\n" \
: \
: "r"(rsp), "rm"(SP_BOTTOM_MAGIC), "a"(to)); \
}