2008-02-22 20:03:31

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] x86: don't make swapper_pg_pmd global

There doesn't seem to be any reason for swapper_pg_pmd being global.

Signed-off-by: Adrian Bunk <[email protected]>

---
f07e9bb8705fc9b1b1d7d00883764f993cb09a4b diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index 25eb985..fd8ca53 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -606,7 +606,7 @@ ENTRY(_stext)
.section ".bss.page_aligned","wa"
.align PAGE_SIZE_asm
#ifdef CONFIG_X86_PAE
-ENTRY(swapper_pg_pmd)
+swapper_pg_pmd:
.fill 1024*KPMDS,4,0
#else
ENTRY(swapper_pg_dir)


2008-02-23 10:24:29

by Ingo Molnar

[permalink] [raw]
Subject: Re: [2.6 patch] x86: don't make swapper_pg_pmd global


* Adrian Bunk <[email protected]> wrote:

> There doesn't seem to be any reason for swapper_pg_pmd being global.

thanks, applied.

Ingo