Files
acrn-hypervisor/hypervisor/arch/x86
Xiangyang Wu 77c3917544 HV:treewide:avoid using multiple # or ## in a macro
In the C99 standard, the order of evaluation associated with
multiple #, multiple ## or a mix of # and ## preprocessor
operator is unspecified. For this case, gcc 7.3.0 manual
does not specify related implementation. So it is unsafe
to use multiple # or ## in a macro.
BTW, there are some macros with one or more "##" which are
not used by hypervisor.

Update relate codes to avoid using multiple # or ## in a macro;
Remove unused macros with one or more "##";
Remove "struct __hack;" at the end of GETCC since it is useless.

Note:
     '##' operator usage constraints: A ## preprocessing token shall
     not occur at the beginning or at the end of a replacement list
     for either form of macro definition.
V1--V2:
	Update relate codes to avoid using multiple # or ## in a macro.
V2-->V3:
	Remove unused macros with one or more "##";
	Remove "struct __hack;" at the end of GETCC since it is useless.

Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-08-02 13:10:16 +08:00
..
2018-07-16 10:35:54 +08:00
2018-07-25 15:29:34 +08:00
2018-07-25 15:29:34 +08:00
2018-08-02 09:51:58 +08:00
2018-08-01 11:36:27 +08:00
2018-07-25 15:29:34 +08:00
2018-08-01 11:36:27 +08:00
2018-08-02 09:51:58 +08:00
2018-07-30 10:11:54 +08:00
2018-08-01 11:36:27 +08:00
2018-07-24 10:56:24 +08:00