projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports
[deliverable/linux.git]
/
drivers
/
nvdimm
/
pmem.c
diff --git
a/drivers/nvdimm/pmem.c
b/drivers/nvdimm/pmem.c
index 5101f3ab4f296a2edc0a290fc4ab87a3ba12f9bb..92f536596b24295f0b19aea551844eecb95f7df6 100644
(file)
--- a/
drivers/nvdimm/pmem.c
+++ b/
drivers/nvdimm/pmem.c
@@
-402,9
+402,9
@@
static int nd_pfn_init(struct nd_pfn *nd_pfn)
/*
* vmemmap_populate_hugepages() allocates the memmap array in
/*
* vmemmap_populate_hugepages() allocates the memmap array in
- *
HPAGE
_SIZE chunks.
+ *
PMD
_SIZE chunks.
*/
*/
- memmap_size = ALIGN(64 * npfns,
HPAGE
_SIZE);
+ memmap_size = ALIGN(64 * npfns,
PMD
_SIZE);
offset = ALIGN(start + SZ_8K + memmap_size, nd_pfn->align)
- start;
} else if (nd_pfn->mode == PFN_MODE_RAM)
offset = ALIGN(start + SZ_8K + memmap_size, nd_pfn->align)
- start;
} else if (nd_pfn->mode == PFN_MODE_RAM)
This page took
0.027832 seconds
and
5
git commands to generate.