From 70564a35c1a09c098bcdbcb0324ea7068d6bcf63 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 9 Feb 2013 19:55:15 +0800 Subject: [PATCH] Kernel/x86 - Removed conditional debug statement in MM_AllocPhys --- KernelLand/Kernel/arch/x86/mm_phys.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/KernelLand/Kernel/arch/x86/mm_phys.c b/KernelLand/Kernel/arch/x86/mm_phys.c index 2b2a7649..37166a01 100644 --- a/KernelLand/Kernel/arch/x86/mm_phys.c +++ b/KernelLand/Kernel/arch/x86/mm_phys.c @@ -239,10 +239,8 @@ tPAddr MM_AllocPhys(void) // Release Spinlock Mutex_Release( &glPhysAlloc ); - LEAVE('X', ret); - if( ret == 0x17FFE000 ) - LogF("TRIP!\n"); + #if TRACE_ALLOCS if( now() > 4000 ) { Log_Debug("PMem", "MM_AllocPhys: RETURN %P (%i free)", ret, giPageCount-giPhysAlloc); -- 2.20.1