Message ID | 20230717103152.202078-6-ryan.roberts@arm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 49f09526b16361db6af387726082ffdda796c101 |
Headers | show |
Series | selftests/mm fixes for arm64 | expand |
diff --git a/tools/testing/selftests/mm/va_high_addr_switch.c b/tools/testing/selftests/mm/va_high_addr_switch.c index 7cfaf4a74c57..cfbc501290d3 100644 --- a/tools/testing/selftests/mm/va_high_addr_switch.c +++ b/tools/testing/selftests/mm/va_high_addr_switch.c @@ -292,7 +292,7 @@ static int supported_arch(void) #elif defined(__x86_64__) return 1; #elif defined(__aarch64__) - return 1; + return getpagesize() == PAGE_SIZE; #else return 0; #endif