Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accel/kvm: avoid using predefined PAGE_SIZE
As per POSIX specification of limits.h [1], OS libc may define PAGE_SIZE in limits.h. PAGE_SIZE is used in included kernel uapi headers. To prevent collosion of definition, we discard PAGE_SIZE from defined by libc and take QEMU's variable. [1]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html Signed-off-by: Jiaxun Yang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
- Loading branch information