]> xenbits.xensource.com Git - xen.git/commit
x86: Delete str()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 28 Jul 2023 19:27:01 +0000 (20:27 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 2 Aug 2023 15:25:24 +0000 (16:25 +0100)
commit73aea9ada87f804f6b56efda13aead3b950f8657
tree95c6fffd6e2fe2cebce9a5e1dbdf8180073379c1
parentabe93fc8aafaecabb2ffbad1b29f049ca02ab8cb
x86: Delete str()

This is used in an assertion only, which is somewhat dubious to begin with and
isn't expected to surivive the x86-S work (where TR is expected to become
become be a NUL selector).

Delete it now.  This avoids many cases where as a global symbol, it shadows
local string variables.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/include/asm/desc.h