summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/fs.h2
-rw-r--r--include/linux/swap.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 4027b4573cd7..9f3221ca434e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1586,8 +1586,6 @@ extern ssize_t generic_read_dir(struct file *, char *, size_t, loff_t *);
extern struct file_operations simple_dir_operations;
extern struct inode_operations simple_dir_inode_operations;
-extern void show_buffers(void);
-
#ifdef CONFIG_BLK_DEV_INITRD
extern unsigned int real_root_dev;
#endif
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 86eb09dfca0d..91e1970277c5 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -98,6 +98,7 @@ extern int nr_swap_pages;
extern unsigned int nr_free_pages(void);
extern unsigned int nr_free_buffer_pages(void);
extern unsigned int nr_free_pagecache_pages(void);
+extern unsigned long nr_buffermem_pages(void);
extern int nr_active_pages;
extern int nr_inactive_pages;
extern atomic_t nr_async_pages;