Commit 05b28b7b authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

x86: Add explicit type conversion in show_rt_xsave_frame

So won't be a warning on x86-32 (I don't like PRI conversion,
it's ugly as hell, plain long is enough here).
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1647e056
...@@ -361,9 +361,9 @@ static void show_rt_xsave_frame(struct xsave_struct *x) ...@@ -361,9 +361,9 @@ static void show_rt_xsave_frame(struct xsave_struct *x)
(int)i387->fop, (int)i387->mxcsr, (int)i387->mxcsr_mask); (int)i387->fop, (int)i387->mxcsr, (int)i387->mxcsr_mask);
pr_debug("magic1:%x extended_size:%x xstate_bv:%lx xstate_size:%x\n", pr_debug("magic1:%x extended_size:%x xstate_bv:%lx xstate_size:%x\n",
fpx->magic1, fpx->extended_size, fpx->xstate_bv, fpx->xstate_size); fpx->magic1, fpx->extended_size, (long)fpx->xstate_bv, fpx->xstate_size);
pr_debug("xstate_bv: %lx\n", xsave_hdr->xstate_bv); pr_debug("xstate_bv: %lx\n", (long)xsave_hdr->xstate_bv);
pr_debug("-----------------------\n"); pr_debug("-----------------------\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment