ia64/xen-unstable

changeset 3136:5164dd44ced6

bitkeeper revision 1.1159.196.2 (41a5ff4ct8PP91KB-eAf60440PriAA)

Get rid of MMU_UPDATE_DEBUG in Linux 2.4.
author kaf24@scramble.cl.cam.ac.uk
date Thu Nov 25 15:50:36 2004 +0000 (2004-11-25)
parents 322f719e79a6
children b835d903239c
files linux-2.4.27-xen-sparse/arch/xen/mm/fault.c
line diff
     1.1 --- a/linux-2.4.27-xen-sparse/arch/xen/mm/fault.c	Thu Nov 25 15:49:16 2004 +0000
     1.2 +++ b/linux-2.4.27-xen-sparse/arch/xen/mm/fault.c	Thu Nov 25 15:50:36 2004 +0000
     1.3 @@ -84,27 +84,6 @@ asmlinkage void do_page_fault(struct pt_
     1.4          error_code &= 3;
     1.5          error_code |= (regs->xcs & 2) << 1;
     1.6  
     1.7 -#if MMU_UPDATE_DEBUG > 0
     1.8 -        if ( (error_code == 0) && (address >= TASK_SIZE) )
     1.9 -        {
    1.10 -            unsigned long paddr = __pa(address);
    1.11 -            int i;
    1.12 -            for ( i = 0; i < mmu_update_queue_idx; i++ )
    1.13 -            {
    1.14 -                if ( update_debug_queue[i].ptr == paddr )
    1.15 -                {
    1.16 -                    printk("XXX now(EIP=%08lx:ptr=%08lx) "
    1.17 -                           "then(%s/%d:p/v=%08lx/%08lx)\n",
    1.18 -                           regs->eip, address,
    1.19 -                           update_debug_queue[i].file,
    1.20 -                           update_debug_queue[i].line,
    1.21 -                           update_debug_queue[i].ptr,
    1.22 -                           update_debug_queue[i].val);
    1.23 -                }
    1.24 -            }
    1.25 -        }
    1.26 -#endif
    1.27 -
    1.28  	if ( flush_page_update_queue() != 0 )
    1.29  		return;
    1.30