Commit a2636724 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: remove debugging remnants

I accidentally left the remnants of some debugging in an earlier patch.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent dc764e50
...@@ -235,9 +235,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr, ...@@ -235,9 +235,7 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
unsigned long addr = start_addr, next; unsigned long addr = start_addr, next;
int ret = 0, last_op = ARRAY_SIZE(ops) - 1, op_index = -1; int ret = 0, last_op = ARRAY_SIZE(ops) - 1, op_index = -1;
void *flush = NULL; void *flush = NULL;
unsigned long long start_time, end_time;
start_time = os_nsecs();
ops[0].type = NONE; ops[0].type = NONE;
pgd = pgd_offset(mm, addr); pgd = pgd_offset(mm, addr);
do { do {
...@@ -254,7 +252,6 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr, ...@@ -254,7 +252,6 @@ void fix_range_common(struct mm_struct *mm, unsigned long start_addr,
&op_index, force, mmu, &flush, &op_index, force, mmu, &flush,
do_ops); do_ops);
} while (pgd++, addr = next, ((addr != end_addr) && !ret)); } while (pgd++, addr = next, ((addr != end_addr) && !ret));
end_time = os_nsecs();
log_info("total flush time - %Ld nsecs\n", end_time - start_time); log_info("total flush time - %Ld nsecs\n", end_time - start_time);
if(!ret) if(!ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment