summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-02-10 23:57:36 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-11 20:24:24 +0100
commit81772fea4110f7ce8083d52503c9c4ddaa50f75b (patch)
tree4af6af998b8a50b82879855a268bf5635f09f6d2 /arch
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild (diff)
downloadlinux-81772fea4110f7ce8083d52503c9c4ddaa50f75b.tar.xz
linux-81772fea4110f7ce8083d52503c9c4ddaa50f75b.zip
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>
Diffstat (limited to 'arch')
-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 {
static int print_split(struct split_state *s)
{
long i, expected, missed = 0;
- int printed = 0;
int err = 0;
s->lpg = s->gpg = s->spg = s->exec = 0;
@@ -53,12 +52,6 @@ static int print_split(struct split_state *s)
pte = lookup_address(addr, &level);
if (!pte) {
- if (!printed) {
- dump_pagetable(addr);
- printk(KERN_INFO "CPA %lx no pte level %d\n",
- addr, level);
- printed = 1;
- }
missed++;
i++;
continue;