diff for duplicates of <491A0252.2050401@codemonkey.ws> diff --git a/a/1.txt b/N1/1.txt index 5dfce18..77173c9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,8 @@ This breaks the -linux-user build. > +++ b/qemu/exec.c > @@ -239,16 +239,7 @@ static void page_init(void) > { -> /* NOTE: we can always suppose that qemu_host_page_size >> TARGET_PAGE_SIZE */ +> /* NOTE: we can always suppose that qemu_host_page_size >= +> TARGET_PAGE_SIZE */ > -#ifdef _WIN32 > - { > - SYSTEM_INFO system_info; @@ -21,7 +22,7 @@ This breaks the -linux-user build. > - qemu_real_host_page_size = getpagesize(); > -#endif > + qemu_real_host_page_size = qemu_getpagesize(); -> if (qemu_host_page_size = 0) +> if (qemu_host_page_size == 0) > qemu_host_page_size = qemu_real_host_page_size; > if (qemu_host_page_size < TARGET_PAGE_SIZE) > diff --git a/a/content_digest b/N1/content_digest index a6a9368..f995515 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0ca05fc2e0d764bbfd45a.1226352804@localhost.localdomain\0" "From\0Anthony Liguori <anthony@codemonkey.ws>\0" "Subject\0Re: [Qemu-devel] [PATCH] Define OS-dependent qemu_getpagesize()\0" - "Date\0Tue, 11 Nov 2008 22:08:18 +0000\0" + "Date\0Tue, 11 Nov 2008 16:08:18 -0600\0" "To\0qemu-devel@nongnu.org\0" "Cc\0kvm-ppc@vger.kernel.org\0" "\00:1\0" @@ -17,7 +17,8 @@ "> +++ b/qemu/exec.c\n" "> @@ -239,16 +239,7 @@ static void page_init(void)\n" "> {\n" - "> /* NOTE: we can always suppose that qemu_host_page_size >> TARGET_PAGE_SIZE */\n" + "> /* NOTE: we can always suppose that qemu_host_page_size >=\n" + "> TARGET_PAGE_SIZE */\n" "> -#ifdef _WIN32\n" "> - {\n" "> - SYSTEM_INFO system_info;\n" @@ -29,7 +30,7 @@ "> - qemu_real_host_page_size = getpagesize();\n" "> -#endif\n" "> + qemu_real_host_page_size = qemu_getpagesize();\n" - "> if (qemu_host_page_size = 0)\n" + "> if (qemu_host_page_size == 0)\n" "> qemu_host_page_size = qemu_real_host_page_size;\n" "> if (qemu_host_page_size < TARGET_PAGE_SIZE)\n" "> \n" @@ -43,4 +44,4 @@ "\n" Anthony Liguori -f9d0a59e40643c2b6631ee15e49a3321fa73e3dba2fae8981eb6fd8a6df5ab3c +e338d5d33c209769f66bf459b1c82eb84a5ebab776b90dc1b00b800a06b2640f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.