Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/x86/kernel/relocate_kernel_32.S =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/relocate_kernel_32.S 2008-03-22 21:15:37.000000000 +0300 +++ linux-2.6.git/arch/x86/kernel/relocate_kernel_32.S 2008-03-22 21:16:54.000000000 +0300 @@ -154,7 +154,7 @@ relocate_new_kernel: movl %eax, %cr3 /* setup a new stack at the end of the physical control page */ - lea 4096(%edi), %esp + lea PAGE_SIZE(%edi), %esp /* jump to identity mapped page */ movl %edi, %eax Index: linux-2.6.git/arch/x86/kernel/relocate_kernel_64.S =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/relocate_kernel_64.S 2008-03-22 20:58:02.000000000 +0300 +++ linux-2.6.git/arch/x86/kernel/relocate_kernel_64.S 2008-03-22 21:17:13.000000000 +0300 @@ -159,7 +159,7 @@ relocate_new_kernel: movq %r9, %cr3 /* setup a new stack at the end of the physical control page */ - lea 4096(%r8), %rsp + lea PAGE_SIZE(%r8), %rsp /* jump to identity mapped page */ addq $(identity_mapped - relocate_kernel), %r8 -- --
| Linus Torvalds | Linux 2.6.27 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Christoph Lameter | Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures |
| Rafael J. Wysocki | [Bug #10669] ACPI: kmemcheck: Caught 16-bit read from freed memory (f7c12ec6) |
git: | |
| Johannes Sixt | [PATCH 03/40] Add target architecture MinGW. |
| Eivind LM | Split a subversion repo into several git repos |
| Carl Baldwin | Revisiting large binary files issue. |
| Anatoly Yakovenko | GIT_SSL_NO_VERIFY=1 over http doesn't ignore a different ip address for the signed... |
| Linux Kernel Mailing List | i.MX3: make SoC devices globally available |
| Linux Kernel Mailing List | [MACVLAN]: Update Kconfig to refer to iproute |
| Linux Kernel Mailing List | MXC: Remove WD IRQ priority setting |
| Linux Kernel Mailing List | ARM: DaVinci: i2c setup |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Richard Stallman | Real men don't attack straw men |
| Kevin Neff | Patching a SSH 'Weakness' |
| Pieter Verberne | Remove escape characters from file |
| How to make my PCIE ATA storage device running in Linux | 2 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 5 hours ago | Linux kernel |
| Shared swap partition | 6 hours ago | Linux general |
| usb mic not detected | 10 hours ago | Applications and Utilities |
| Problem in Inserting a module | 11 hours ago | Linux kernel |
| Treason Uncloaked | 16 hours ago | Linux kernel |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
