[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 04/18] x86/dmi.c: use plain bool
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- xen/arch/x86/dmi_scan.c | 8 ++++---- xen/include/xen/dmi.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/arch/x86/dmi_scan.c b/xen/arch/x86/dmi_scan.c index 8564a77ea0..fcdf2d3952 100644 --- a/xen/arch/x86/dmi_scan.c +++ b/xen/arch/x86/dmi_scan.c @@ -183,8 +183,8 @@ static int __init dmi_table(paddr_t base, u32 len, int num, } -static inline bool_t __init dmi_checksum(const void __iomem *buf, - unsigned int len) +static inline bool __init dmi_checksum(const void __iomem *buf, + unsigned int len) { u8 sum = 0; const u8 *p = buf; @@ -753,10 +753,10 @@ fail: d++; * On return, year, month and day are guaranteed to be in the * range of [0,9999], [0,12] and [0,31] respectively. */ -bool_t __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp) +bool __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp) { int year = 0, month = 0, day = 0; - bool_t exists; + bool exists; const char *s, *e, *y; s = field < DMI_STRING_MAX ? dmi_ident[field] : NULL; diff --git a/xen/include/xen/dmi.h b/xen/include/xen/dmi.h index df26d4b3e3..eba2c27b2f 100644 --- a/xen/include/xen/dmi.h +++ b/xen/include/xen/dmi.h @@ -36,7 +36,7 @@ extern int dmi_check_system(struct dmi_system_id *list); extern void dmi_scan_machine(void); extern const char *dmi_get_table(paddr_t *base, u32 *len); extern void dmi_efi_get_table(const void *smbios, const void *smbios3); -bool_t dmi_get_date(int field, int *yearp, int *monthp, int *dayp); +bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp); extern void dmi_end_boot(void); #endif /* __DMI_H__ */ -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |