tools: use '__i386__' and '__x86_64__' to replace PSR macros
authorYi Sun <yi.y.sun@linux.intel.com>
Mon, 4 Sep 2017 11:01:43 +0000 (19:01 +0800)
committerWei Liu <wei.liu2@citrix.com>
Wed, 6 Sep 2017 16:06:12 +0000 (17:06 +0100)
commit5fe3e6a74afa21dd4f4abc18b47ed0f2e1550329
tree90f3bf3334fd61a521bb1b6b9b4ee2d1dfc46762
parent0829a6bdbdc6b79990bd0668e847275b6a2717e5
tools: use '__i386__' and '__x86_64__' to replace PSR macros

The libxl interfaces and related functions are not necessary to be included by
'LIBXL_HAVE_PSR_CMT' and 'LIBXL_HAVE_PSR_CAT'. So replace them to common x86
macros. Furthermore, only compile 'xl_psr.c' under x86.

Suggested-by: Roger Pau Monné <roger.pau@citrix.com>
Suggested-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.h
tools/xl/Makefile
tools/xl/xl.h
tools/xl/xl_cmdtable.c
tools/xl/xl_psr.c