diff options
author | Joe Perches <joe@perches.com> | 2015-03-31 01:46:04 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-31 05:19:47 +0200 |
commit | acdb66857fb9a713c93bb3e6edba5ee478ba0678 (patch) | |
tree | eb1fd2cf6064c4592072915b22856b5f96d47316 /arch/powerpc/include/asm/dcr-native.h | |
parent | selftests/powerpc: Add a test of the switch_endian() syscall (diff) | |
download | linux-acdb66857fb9a713c93bb3e6edba5ee478ba0678.tar.xz linux-acdb66857fb9a713c93bb3e6edba5ee478ba0678.zip |
powerpc: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/dcr-native.h')
-rw-r--r-- | arch/powerpc/include/asm/dcr-native.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/dcr-native.h b/arch/powerpc/include/asm/dcr-native.h index 7d2e6235726d..4efc11dacb98 100644 --- a/arch/powerpc/include/asm/dcr-native.h +++ b/arch/powerpc/include/asm/dcr-native.h @@ -31,7 +31,7 @@ typedef struct { static inline bool dcr_map_ok_native(dcr_host_native_t host) { - return 1; + return true; } #define dcr_map_native(dev, dcr_n, dcr_c) \ |