Remove this thin wrapper too.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
enum ce { CE_DEBUG, CE_CONT, CE_NOTE, CE_WARN, CE_ALERT, CE_PANIC };
#endif
-
-extern unsigned long libxfs_physmem(void); /* in kilobytes */
-
#include "xfs_ialloc.h"
#include "xfs_attr_leaf.h"
c = asctime(localtime(&t));
fprintf(fp, "%s", c);
}
-
-unsigned long
-libxfs_physmem(void)
-{
- return platform_physmem();
-}
(mp->m_sb.sb_dblocks >> (10 + 1)) +
50000; /* rough estimate of 50MB overhead */
max_mem = max_mem_specified ? max_mem_specified * 1024 :
- libxfs_physmem() * 3 / 4;
+ platform_physmem() * 3 / 4;
if (getrlimit(RLIMIT_AS, &rlim) != -1 &&
rlim.rlim_cur != RLIM_INFINITY) {