From: Itsuro O. <od...@us...> - 2006-01-10 00:40:47
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/arch/x86_64/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31760/arch/x86_64/kernel Modified Files: machine_mkexec.c Log Message: for debian Index: machine_mkexec.c =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/arch/x86_64/kernel/machine_mkexec.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** machine_mkexec.c 9 Dec 2005 13:18:10 -0000 1.4 --- machine_mkexec.c 10 Jan 2006 00:40:35 -0000 1.5 *************** *** 297,304 **** * page table anyway. */ ! #ifdef BACKPORT_24 ! memcpy((void *)read_pda(level4_pgt), __va(start_pgtable), PAGE_SIZE/2); ! #else load_cr3(__va(start_pgtable)); #endif __flush_tlb(); --- 297,304 ---- * page table anyway. */ ! #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12) load_cr3(__va(start_pgtable)); + #else + memcpy((void *)read_pda(level4_pgt), __va(start_pgtable), PAGE_SIZE/2); #endif __flush_tlb(); |