]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: make sure initmem is writable
authorArjan van de Ven <arjan@linux.intel.com>
Wed, 30 Jan 2008 12:34:07 +0000 (13:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:34:07 +0000 (13:34 +0100)
commit3c1df68b848b39270752ff8d4b956cc4a4dce0f6
tree7edffa58f936a55fe6a69ca32cde71c0b9d20354
parent488fd99588bf23da951b524a806e44feaa1aa366
x86: make sure initmem is writable

When we free initmem, various rodata and CPA checks may have left
memory read only.. this patch ensures that the memory is writable
before we free it.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c