refomatted GET_DATA_SIZE macro
The macro GET_DATA_SIZE's code style is not correct, it is merged by accident,the Pull Request <fix "obsolete use of designated initializer without '='"> have two commid id,the second commit changed the ucode.c by mistake. Now fixed. Signed-off-by: huihuang.shi <huihuang.shi@intel.com>
This commit is contained in:
parent
4b4e1e1c59
commit
b9660eb9d6
|
@ -47,8 +47,8 @@ uint64_t get_microcode_version(void)
|
|||
* According to SDM vol 3 Table 9-7. If data_size field of uCode
|
||||
* header is zero, the ucode length is 2000
|
||||
*/
|
||||
#define GET_DATA_SIZE(hdptr) ((hdptr)->data_size ?\
|
||||
((hdptr)->data_size) : 2000)
|
||||
#define GET_DATA_SIZE(hdptr) \
|
||||
((hdptr)->data_size ? ((hdptr)->data_size) : 2000)
|
||||
void acrn_update_ucode(struct vcpu *vcpu, uint64_t v)
|
||||
{
|
||||
uint64_t hva, gpa, gva;
|
||||
|
|
Loading…
Reference in New Issue