From 1064bbf9590adbcb5877fbbd01084d9f354c3ccf Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Wed, 30 Jan 2008 13:32:50 +0100 Subject: [PATCH] --- yaml --- r: 80186 b: refs/heads/master c: 4c4915627f94a81a834a7a65dee83acdfb45788c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/acpi/wakeup_32.S | 2 +- trunk/arch/x86/kernel/vmlinux_32.lds.S | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 859e229d5cb2..f9862ecb6d06 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0c2bd5a5e3b9469c6ab2b96c403980f192db0bf7 +refs/heads/master: 4c4915627f94a81a834a7a65dee83acdfb45788c diff --git a/trunk/arch/x86/kernel/acpi/wakeup_32.S b/trunk/arch/x86/kernel/acpi/wakeup_32.S index 1e931aaf2ef6..f53e3277f8e5 100644 --- a/trunk/arch/x86/kernel/acpi/wakeup_32.S +++ b/trunk/arch/x86/kernel/acpi/wakeup_32.S @@ -1,4 +1,4 @@ -.text + .section .text.page_aligned #include #include #include diff --git a/trunk/arch/x86/kernel/vmlinux_32.lds.S b/trunk/arch/x86/kernel/vmlinux_32.lds.S index ec072588ff01..f1148ac8abe3 100644 --- a/trunk/arch/x86/kernel/vmlinux_32.lds.S +++ b/trunk/arch/x86/kernel/vmlinux_32.lds.S @@ -38,6 +38,8 @@ SECTIONS /* read-only */ .text : AT(ADDR(.text) - LOAD_OFFSET) { + . = ALIGN(4096); /* not really needed, already page aligned */ + *(.text.page_aligned) TEXT_TEXT SCHED_TEXT LOCK_TEXT