Commit 6385f4d5579ccada7bd1d9fefbdea5515457b10d

Authored by Eric Sandeen
Committed by Tim Shimmin
1 parent 425f9ddd53

[XFS] Remove xfs_physmem

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>

Showing 3 changed files with 0 additions and 10 deletions Side-by-side Diff

fs/xfs/linux-2.6/xfs_globals.c
... ... @@ -20,11 +20,6 @@
20 20 #include "xfs_sysctl.h"
21 21  
22 22 /*
23   - * System memory size - used to scale certain data structures in XFS.
24   - */
25   -unsigned long xfs_physmem;
26   -
27   -/*
28 23 * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n,
29 24 * other XFS code uses these values. Times are measured in centisecs (i.e.
30 25 * 100ths of a second).
fs/xfs/linux-2.6/xfs_globals.h
... ... @@ -19,7 +19,6 @@
19 19 #define __XFS_GLOBALS_H__
20 20  
21 21 extern uint64_t xfs_panic_mask; /* set to cause more panics */
22   -extern unsigned long xfs_physmem;
23 22 extern struct cred *sys_cred;
24 23  
25 24 #endif /* __XFS_GLOBALS_H__ */
fs/xfs/linux-2.6/xfs_super.c
... ... @@ -907,14 +907,10 @@
907 907 init_xfs_fs( void )
908 908 {
909 909 int error;
910   - struct sysinfo si;
911 910 static char message[] __initdata = KERN_INFO \
912 911 XFS_VERSION_STRING " with " XFS_BUILD_OPTIONS " enabled\n";
913 912  
914 913 printk(message);
915   -
916   - si_meminfo(&si);
917   - xfs_physmem = si.totalram;
918 914  
919 915 ktrace_init(64);
920 916