LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make arch/i386/kernel/vmi.c:vmi_pmd_clear() static
@ 2007-03-05 1:47 Adrian Bunk
2007-03-05 2:58 ` Zachary Amsden
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-03-05 1:47 UTC (permalink / raw)
To: Zachary Amsden; +Cc: linux-kernel
This patch makes the needlessly global vmi_pmd_clear() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.21-rc2-mm1/arch/i386/kernel/vmi.c.old 2007-03-04 20:32:08.000000000 +0100
+++ linux-2.6.21-rc2-mm1/arch/i386/kernel/vmi.c 2007-03-04 20:33:51.000000000 +0100
@@ -517,7 +517,7 @@
vmi_ops.set_pte(pte, ptep, vmi_flags_addr(mm, addr, VMI_PAGE_PT, 0));
}
-void vmi_pmd_clear(pmd_t *pmd)
+static void vmi_pmd_clear(pmd_t *pmd)
{
const pte_t pte = { 0 };
vmi_check_page_type(__pa(pmd) >> PAGE_SHIFT, VMI_PAGE_PMD);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make arch/i386/kernel/vmi.c:vmi_pmd_clear() static
2007-03-05 1:47 [2.6 patch] make arch/i386/kernel/vmi.c:vmi_pmd_clear() static Adrian Bunk
@ 2007-03-05 2:58 ` Zachary Amsden
0 siblings, 0 replies; 2+ messages in thread
From: Zachary Amsden @ 2007-03-05 2:58 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
Adrian Bunk wrote:
> This patch makes the needlessly global vmi_pmd_clear() static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
> --- linux-2.6.21-rc2-mm1/arch/i386/kernel/vmi.c.old 2007-03-04 20:32:08.000000000 +0100
> +++ linux-2.6.21-rc2-mm1/arch/i386/kernel/vmi.c 2007-03-04 20:33:51.000000000 +0100
> @@ -517,7 +517,7 @@
> vmi_ops.set_pte(pte, ptep, vmi_flags_addr(mm, addr, VMI_PAGE_PT, 0));
> }
>
> -void vmi_pmd_clear(pmd_t *pmd)
> +static void vmi_pmd_clear(pmd_t *pmd)
> {
> const pte_t pte = { 0 };
> vmi_check_page_type(__pa(pmd) >> PAGE_SHIFT, VMI_PAGE_PMD);
>
>
>
Acked-by: Zachary Amsden <zach@vmware.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-05 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05 1:47 [2.6 patch] make arch/i386/kernel/vmi.c:vmi_pmd_clear() static Adrian Bunk
2007-03-05 2:58 ` Zachary Amsden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).