x86/include/registers.h: macros should not use a trailing semicolon
Macros should not use a trailing semicolons. Remove those from 'LONG_DOWNTO8' aswell as 'LONG_DOWNTO16' and add them at places where the macros are used. Signed-off-by: Yuchen He <yuchenhe126@gmail.com> Change-Id: I5ba01bc09f9a2d9ecd54014e27ec0a24c7297412 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73864 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
0c9fcf6010
commit
7f5a52cc63
|
@ -19,7 +19,7 @@
|
||||||
uint16_t h##A##x; \
|
uint16_t h##A##x; \
|
||||||
} __packed; \
|
} __packed; \
|
||||||
uint32_t e##A##x; \
|
uint32_t e##A##x; \
|
||||||
} __packed;
|
} __packed
|
||||||
|
|
||||||
#define LONG_DOWNTO16(A) \
|
#define LONG_DOWNTO16(A) \
|
||||||
union { \
|
union { \
|
||||||
|
@ -28,17 +28,17 @@
|
||||||
uint16_t h##A; \
|
uint16_t h##A; \
|
||||||
} __packed; \
|
} __packed; \
|
||||||
uint32_t e##A; \
|
uint32_t e##A; \
|
||||||
} __packed;
|
} __packed
|
||||||
|
|
||||||
#define QUAD_DOWNTO8(A) \
|
#define QUAD_DOWNTO8(A) \
|
||||||
union { \
|
union { \
|
||||||
LONG_DOWNTO8(A) \
|
LONG_DOWNTO8(A); \
|
||||||
uint64_t r##A##x; \
|
uint64_t r##A##x; \
|
||||||
} __packed
|
} __packed
|
||||||
|
|
||||||
#define QUAD_DOWNTO16(A) \
|
#define QUAD_DOWNTO16(A) \
|
||||||
union {\
|
union {\
|
||||||
LONG_DOWNTO16(A) \
|
LONG_DOWNTO16(A); \
|
||||||
uint64_t r##A; \
|
uint64_t r##A; \
|
||||||
} __packed
|
} __packed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue