summaryrefslogtreecommitdiffstats
path: root/src/sys/vfs/vfs_init.C
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2011-09-19 10:17:02 -0500
committerDouglas R. Gilbert <dgilbert@us.ibm.com>2011-09-28 10:42:18 -0500
commit3e955c10be1734e2d438f337e7064c3ba8884a73 (patch)
tree8f2991425ba0f201eebf4f0718cdd2d99830e6d9 /src/sys/vfs/vfs_init.C
parentd034089348a197fa870bada40ac9f62523088d09 (diff)
downloadtalos-hostboot-3e955c10be1734e2d438f337e7064c3ba8884a73.tar.gz
talos-hostboot-3e955c10be1734e2d438f337e7064c3ba8884a73.zip
VFS provide assess to read-only data modules
Change-Id: I0178e5b9154f43e092af217931f4570941393d62 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/357 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server
Diffstat (limited to 'src/sys/vfs/vfs_init.C')
-rw-r--r--src/sys/vfs/vfs_init.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/vfs/vfs_init.C b/src/sys/vfs/vfs_init.C
index 63ed5b08b..ad08d0d7f 100644
--- a/src/sys/vfs/vfs_init.C
+++ b/src/sys/vfs/vfs_init.C
@@ -36,7 +36,7 @@ uint64_t VFS_LAST_ADDRESS;
int vfs_module_perms(VfsSystemModule* module)
{
int rc = 0;
- uint64_t memsize = (module->page_size*PAGESIZE);
+ uint64_t memsize = (module->page_count*PAGESIZE);
uint64_t textsize= (uint64_t)module->data - (uint64_t)module->text;
uint64_t datasize = memsize - textsize;
OpenPOWER on IntegriCloud