From 5c791916036b800509a6b1b72d442cb9858d995c Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 13 Apr 2009 04:14:15 -0700 Subject: [PATCH] X86: Fix minor bug in the page table walker from TLB shuffling. --- src/arch/x86/pagetable_walker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/pagetable_walker.cc b/src/arch/x86/pagetable_walker.cc index 69ded7cbc..d43502760 100644 --- a/src/arch/x86/pagetable_walker.cc +++ b/src/arch/x86/pagetable_walker.cc @@ -98,7 +98,7 @@ Walker::doNext(PacketPtr &write) bool uncacheable = pte.pcd; Addr nextRead = 0; bool doWrite = false; - bool badNX = pte.nx && mode == BaseTLB::Write && enableNX; + bool badNX = pte.nx && mode == BaseTLB::Execute && enableNX; switch(state) { case LongPML4: DPRINTF(PageTableWalker, -- 2.30.2