The limitation of which tests can be build on 32bit is too strict. Move
some tests out of the 64bit explicit region, as they can also be built on
32bits.
Fixes: cb50e4033717 ("test/pdx: add PDX compression unit tests")
Reported-by: Jan Beulich <[email protected]>
Signed-off-by: Roger Pau Monné <[email protected]>
---
tools/tests/pdx/test-pdx.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/tools/tests/pdx/test-pdx.c b/tools/tests/pdx/test-pdx.c
index 066bd3e7e569..d783186577ef 100644
--- a/tools/tests/pdx/test-pdx.c
+++ b/tools/tests/pdx/test-pdx.c
@@ -77,6 +77,17 @@ int main(int argc, char **argv)
},
.compress = true,
},
+ /* Two ranges with the same high bit set. */
+ {
+ .ranges = {
+ { .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 0,
+ .end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 1 },
+ { .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 3,
+ .end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 4 },
+ },
+ .compress = true,
+ },
+#endif
/* PDX compression, 2 ranges covered by the lower mask. */
{
.ranges = {
@@ -132,17 +143,6 @@ int main(int argc, char **argv)
},
.compress = true,
},
- /* Two ranges with the same high bit set. */
- {
- .ranges = {
- { .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 0,
- .end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 1 },
- { .start = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 3,
- .end = (1UL << (51 - PAGE_SHIFT)) + (1 << MAX_ORDER) * 4 },
- },
- .compress = true,
- },
-#endif
/* AMD Naples Epyc 7281 2 sockets, 8 NUMA nodes. */
{
.ranges = {
--
2.51.0