mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
Parens around tertiary operator so that casting the result works...
This commit is contained in:
parent
a17f9fd691
commit
f976477f81
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204054
@ -601,10 +601,9 @@ typedef enum {
|
||||
|
||||
|
||||
#define octeon_ptr_to_phys(ptr) \
|
||||
((((mipsx_addr_size) ptr) >> MIPSX_ADDR_SIZE_KSEGX_BIT_SHIFT) == 2) ? \
|
||||
(((((mipsx_addr_size) ptr) >> MIPSX_ADDR_SIZE_KSEGX_BIT_SHIFT) == 2) ? \
|
||||
((mipsx_addr_size) ptr & MIPSX_ADDR_SIZE_KSEGX_MASK_REMOVED) : \
|
||||
(vtophys(ptr))
|
||||
|
||||
(vtophys(ptr)))
|
||||
|
||||
#ifdef CODE_FOR_64_BIT_NEEDED
|
||||
static inline mipsx_addr_size octeon_ptr_to_phys (void *ptr)
|
||||
|
Loading…
Reference in New Issue
Block a user