]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
uml: remove debugging remnants
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:42 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:03 +0000 (12:13 -0700)
I accidentally left the remnants of some debugging in an earlier patch.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/tlb.c

index 153dec13cf97625273bdc448c5ecc1b2ca77a958..e201ccf0ec899ceacfbf894c4d53ff545059269c 100644 (file)
@@ -235,9 +235,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
        unsigned long addr = start_addr, next;
        int ret = 0, last_op = ARRAY_SIZE(ops) - 1, op_index = -1;
        void *flush = NULL;
-       unsigned long long start_time, end_time;
 
-       start_time = os_nsecs();
        ops[0].type = NONE;
        pgd = pgd_offset(mm, addr);
        do {
@@ -254,7 +252,6 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
                                            &op_index, force, mmu, &flush,
                                            do_ops);
        } while (pgd++, addr = next, ((addr != end_addr) && !ret));
-       end_time = os_nsecs();
        log_info("total flush time - %Ld nsecs\n", end_time - start_time);
 
        if(!ret)