From 411973b4db28fa3b2a97f44aa4897efe173a0b06 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 29 Apr 2002 23:53:41 -0700 Subject: [PATCH] remove show_buffers() Remove show_buffers(). It really has nothing to show any more. just buffermem_pages() - move that out into the callers. There's a lot of duplication in this code. better approach would be to remove all the duplicated code out in the architectures and implement generic show_memory_state(). Later. --- drivers/sgi/char/sgiserial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/sgi/char/sgiserial.c b/drivers/sgi/char/sgiserial.c index a478ddb74006..bbd4827ae802 100644 --- a/drivers/sgi/char/sgiserial.c +++ b/drivers/sgi/char/sgiserial.c @@ -423,7 +423,8 @@ static _INLINE_ void receive_chars(struct sgi_serial *info, struct pt_regs *regs show_state(); return; } else if (ch == 2) { - show_buffers(); + printk("%ld buffermem pages\n", + nr_buffermem_pages()); return; } } -- cgit v1.2.3