|
From: | Andreas Färber |
Subject: | Re: [Qemu-devel] Re: [PATCH] Prefer posix_madvise() over madvise() |
Date: | Sat, 11 Sep 2010 19:13:33 +0200 |
Am 11.09.2010 um 14:11 schrieb Blue Swirl:
On Sat, Sep 11, 2010 at 11:51 AM, Andreas Färber <address@hidden > wrote:From: Andreas Färber <address@hidden> vl.c has a Sun-specific hack to supply a prototype for madvise(), but the call site has apparently moved to arch_init.c. The underlying issue is that madvise() is not a POSIX function, therefore Solaris' _POSIX_C_SOURCE suppresses the prototype. Haiku doesn't implement madvise() at all.OpenBSD doesn't implement posix_madvise(). How about adding probing to configure and wrapping the stuff found as qemu_madvise()?
Done in "Introduce qemu_madvise()". Should've been "[PATCH v2]". Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |