qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH] fix compilation on FreeBSD for mac_*world.c


From: Andreas Tobler
Subject: [Qemu-ppc] [PATCH] fix compilation on FreeBSD for mac_*world.c
Date: Sat, 09 Nov 2013 00:15:49 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Hello,

the attached patch fixes compilation on FreeBSD for
hw/ppc/mac_new/oldworld.c on FreeBSD.

The affected function is present in machine/param.h on FreeBSD:

#define round_page(x)   ((((unsigned long)(x)) + PAGE_MASK) & ~(PAGE_MASK))

To make it compile on FreeBSD I'd like to propose the below patch which
is in use since a longer time on the ports tree (FreeBSD) and in my
personal git tree.

Thanks,

Andreas

Signed-off-by: Andreas Tobler <address@hidden>

Attachment: round_page.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]