aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-10 17:57:36 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-11 14:24:24 -0500
commit81772fea4110f7ce8083d52503c9c4ddaa50f75b (patch)
tree4af6af998b8a50b82879855a268bf5635f09f6d2
parentcc13e442952a347f7e217eeaee4778485394f1be (diff)
x86: remove over noisy debug printk
pageattr-test.c contains a noisy debug printk that people reported. The condition under which it prints (randomly tapping into a mem_map[] hole and not being able to c_p_a() there) is valid behavior and not interesting to report. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/x86/mm/pageattr-test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/mm/pageattr-test.c b/arch/x86/mm/pageattr-test.c
index ed8201600354..75f1b109aae8 100644
--- a/arch/x86/mm/pageattr-test.c
+++ b/arch/x86/mm/pageattr-test.c
@@ -40,7 +40,6 @@ struct split_state {
40static int print_split(struct split_state *s) 40static int print_split(struct split_state *s)
41{ 41{
42 long i, expected, missed = 0; 42 long i, expected, missed = 0;
43 int printed = 0;
44 int err = 0; 43 int err = 0;
45 44
46 s->lpg = s->gpg = s->spg = s->exec = 0; 45 s->lpg = s->gpg = s->spg = s->exec = 0;
@@ -53,12 +52,6 @@ static int print_split(struct split_state *s)
53 52
54 pte = lookup_address(addr, &level); 53 pte = lookup_address(addr, &level);
55 if (!pte) { 54 if (!pte) {
56 if (!printed) {
57 dump_pagetable(addr);
58 printk(KERN_INFO "CPA %lx no pte level %d\n",
59 addr, level);
60 printed = 1;
61 }
62 missed++; 55 missed++;
63 i++; 56 i++;
64 continue; 57 continue;