Debug commit to be removed

This commit is contained in:
Bahadir Balban
2009-10-18 18:53:31 +03:00
parent c5d2bedc7f
commit c3b0399485
3 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ int sys_map(unsigned long phys, unsigned long virt, unsigned long npages,
return -EINVAL;
found:
printk("%s (%d) Mapping from 0x%lx to 0x%lxp, %lu pages\n", __FUNCTION__, tid, phys, virt, npages);
add_mapping_pgd(phys, virt, npages << PAGE_BITS, flags, TASK_PGD(target));
return 0;

View File

@@ -19,7 +19,7 @@
#include INC_SUBARCH(mm.h)
/* Abort debugging conditions */
#define DEBUG_ABORTS
//#define DEBUG_ABORTS
#if defined (DEBUG_ABORTS)
#define dbg_abort(...) dprintk(__VA_ARGS__)
#else