Skip to content

Commit c8a294a

Browse files
committed
ppc64: fix PRI__64 macro definition when compiled with -m32
* kernel_types.h [SIZEOF_LONG != 4]: Check for __powerpc64__ instead of POWERPC to handle -m32 case properly.
1 parent 5b9de7b commit c8a294a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ typedef struct {
7676
*/
7777
#if SIZEOF_LONG == 4
7878
# define PRI__64 "ll"
79-
#elif defined ALPHA || defined IA64 || defined POWERPC \
79+
#elif defined ALPHA || defined IA64 || defined __powerpc64__ \
8080
|| (defined MIPS && !defined __ANDROID__)
8181
# define PRI__64 "l"
8282
#else

0 commit comments

Comments
 (0)