]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Remove xfs_physmem
authorEric Sandeen <sandeen@sandeen.net>
Thu, 16 Aug 2007 06:25:10 +0000 (16:25 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Mon, 15 Oct 2007 06:40:14 +0000 (16:40 +1000)
Now that nobody's using it, remove xfs_physmem & friends.

SGI-PV: 968563
SGI-Modid: xfs-linux-melb:xfs-kern:29325a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_globals.c
fs/xfs/linux-2.6/xfs_globals.h
fs/xfs/linux-2.6/xfs_super.c

index 81565dea9af7ca9f119a69ebc2f32a62edc318df..9febf9dc999d902558c527fbc0a01c77c0f46602 100644 (file)
 #include "xfs_cred.h"
 #include "xfs_sysctl.h"
 
-/*
- * System memory size - used to scale certain data structures in XFS.
- */
-unsigned long xfs_physmem;
-
 /*
  * Tunable XFS parameters.  xfs_params is required even when CONFIG_SYSCTL=n,
  * other XFS code uses these values.  Times are measured in centisecs (i.e.
index e1a22bfcf865af4adc14e9d2934c0f2ed81c9954..2770b0085ee869bedac0def84d8cdf3e37964c6f 100644 (file)
@@ -19,7 +19,6 @@
 #define __XFS_GLOBALS_H__
 
 extern uint64_t        xfs_panic_mask;         /* set to cause more panics */
-extern unsigned long xfs_physmem;
 extern struct cred *sys_cred;
 
 #endif /* __XFS_GLOBALS_H__ */
index 17ad5e46371035865a9cff9debf740b1de498d7f..2fbf24a6cf58880ebbc35483d6f6dd48d4977b04 100644 (file)
@@ -907,15 +907,11 @@ STATIC int __init
 init_xfs_fs( void )
 {
        int                     error;
-       struct sysinfo          si;
        static char             message[] __initdata = KERN_INFO \
                XFS_VERSION_STRING " with " XFS_BUILD_OPTIONS " enabled\n";
 
        printk(message);
 
-       si_meminfo(&si);
-       xfs_physmem = si.totalram;
-
        ktrace_init(64);
 
        error = xfs_init_zones();