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 <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Julien Grall authored and Stefano Stabellini committed 2017-06-30 14:20:56 -07:00
1 parent 4f671de7f8
commit d468f4299c
1 file changed
+3 -3
+3 -3
View File
@@ -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;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.