x86: fix x86-32 early fixmap initialization.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 2 Dec 2007 01:34:06 +0000 (18:34 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 3 Dec 2007 16:17:10 +0000 (17:17 +0100)
commit17d57a9206b4de6ad082ac9f2d2346985abbd2aa
tree67f321b8aa1a04c123d2b5f253b0de0a6ec0334e
parent0c1b2724069951b1902373e688042b2ec382f68f
x86: fix x86-32 early fixmap initialization.

pageexec@freemail.hu writes:

> i've just noticed that the chunk in i386/kernel/head.S ended up in a
> weird place, namely, it's not going to be executed as it's just after
> a 'jmp 3f' and before startup_32_smp, probably not what you intended.
> on a sidenote, the whole thing can be done in a single insn, like:
>
> movl $(swapper_pg_pmd - __PAGE_OFFSET + 0x067), (swapper_pg_dir -
> __PAGE_OFFSET+ 4092)

Thanks for the reminder I thought we had fixed this problem a while ago.

Needed to get fixed virtual address for USB debug and earlycon with mmio.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_32.S
This page took 0.025013 seconds and 5 git commands to generate.