selftests/mm: fix build warnings on ppc64

Fix warnings like:

In file included from uffd-unit-tests.c:8:
uffd-unit-tests.c: In function `uffd_poison_handle_fault':
uffd-common.h:45:33: warning: format `%llu' expects argument of type
`long long unsigned int', but argument 3 has type `__u64' {aka `long
unsigned int'} [-Wformat=]

By switching to unsigned long long for u64 for ppc64 builds.

Link: https://lkml.kernel.org/r/20240521030219.57439-1-mpe@ellerman.id.au
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by Michael Ellerman and committed by Andrew Morton 1901472f b1480ed2

+2
+1
tools/testing/selftests/mm/gup_test.c
··· 1 #include <fcntl.h> 2 #include <errno.h> 3 #include <stdio.h>
··· 1 + #define __SANE_USERSPACE_TYPES__ // Use ll64 2 #include <fcntl.h> 3 #include <errno.h> 4 #include <stdio.h>
+1
tools/testing/selftests/mm/uffd-common.h
··· 8 #define __UFFD_COMMON_H__ 9 10 #define _GNU_SOURCE 11 #include <stdio.h> 12 #include <errno.h> 13 #include <unistd.h>
··· 8 #define __UFFD_COMMON_H__ 9 10 #define _GNU_SOURCE 11 + #define __SANE_USERSPACE_TYPES__ // Use ll64 12 #include <stdio.h> 13 #include <errno.h> 14 #include <unistd.h>