From: Julien Grall Date: Fri, 30 Jun 2017 15:54:31 +0000 (+0100) Subject: xen/arm: lpae: Switch from bool_t to bool X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1848 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d468f4299cef469d882f4bed8530fca53ebf2ebd;p=xen.git xen/arm: lpae: Switch from bool_t to bool We are phasing out the use of bool_t in the hypervisor code. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/lpae.h b/xen/include/asm-arm/lpae.h index 6fbf7c606c..a62b118630 100644 --- a/xen/include/asm-arm/lpae.h +++ b/xen/include/asm-arm/lpae.h @@ -126,7 +126,7 @@ typedef union { lpae_walk_t walk; } lpae_t; -static inline bool_t lpae_valid(lpae_t pte) +static inline bool lpae_valid(lpae_t pte) { return pte.walk.valid; } @@ -136,12 +136,12 @@ static inline bool_t lpae_valid(lpae_t pte) * the table bit and therefore these would return the opposite to what * you would expect. */ -static inline bool_t lpae_table(lpae_t pte) +static inline bool lpae_table(lpae_t pte) { return lpae_valid(pte) && pte.walk.table; } -static inline bool_t lpae_mapping(lpae_t pte) +static inline bool lpae_mapping(lpae_t pte) { return lpae_valid(pte) && !pte.walk.table; }