From d088e0bdc3a96f0ab477d75af435445a50136803 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 19 Aug 2008 04:45:54 +0000 Subject: [PATCH] Branch HEAD b=16671 i=nikita, bobijam Remove no longer used define. --- lustre/include/linux/lustre_compat25.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 63554b4..8d575a65 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -404,18 +404,6 @@ int ll_unregister_blkdev(unsigned int dev, const char *name) #define ll_inode_blksize(a) (1<<(a)->i_blkbits) #endif -#ifndef HAVE_EXPORT_NR_FREE_BUFFER_PAGES -static inline unsigned int ll_nr_free_buffer_pages(void) -{ - struct sysinfo si; - - si_meminfo(&si); - return (unsigned int)(si.freeram - si.freehigh); -} -#else -#define ll_nr_free_buffer_pages() nr_free_buffer_pages() -#endif - #ifdef HAVE_FS_RENAME_DOES_D_MOVE #define LL_RENAME_DOES_D_MOVE FS_RENAME_DOES_D_MOVE #else -- 1.8.3.1