summaryrefslogtreecommitdiff
path: root/drivers/sgi
diff options
context:
space:
mode:
authorAndrew Morton <akpm@zip.com.au>2002-04-29 23:53:41 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-04-29 23:53:41 -0700
commit411973b4db28fa3b2a97f44aa4897efe173a0b06 (patch)
tree67c54923e89721208997dae7588a50e5a50be79a /drivers/sgi
parent8dcf47bd871737b9694a2943d5068563e4c3a49f (diff)
[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.
Diffstat (limited to 'drivers/sgi')
-rw-r--r--drivers/sgi/char/sgiserial.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}