tests: Rename PAGE_SIZE definitions
commitd2c4f3841d1cba17c99f76812ffcb75a6c402202
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Mon, 18 Jan 2021 06:38:05 +0000 (18 14:38 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 20 Jan 2021 09:46:54 +0000 (20 10:46 +0100)
tree338680b9d8a259330839568b545d8bca0b04d0ec
parent2d0fc797faaa73fbc1d30f5f9e90407bf3dd93f0
tests: Rename PAGE_SIZE definitions

As per POSIX specification of limits.h [1], OS libc may define
PAGE_SIZE in limits.h.

Self defined PAGE_SIZE is frequently used in tests, to prevent
collosion of definition, we give PAGE_SIZE definitons reasonable
prefixs.

[1]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210118063808.12471-7-jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/migration/stress.c
tests/qtest/libqos/malloc-pc.c
tests/qtest/libqos/malloc-spapr.c
tests/qtest/m25p80-test.c
tests/tcg/multiarch/system/memory.c
tests/test-xbzrle.c