aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/sparse.c')
-rw-r--r--mm/sparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index 186a85bf7912..8903c484389a 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -210,7 +210,6 @@ static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long p
210/* 210/*
211 * Decode mem_map from the coded memmap 211 * Decode mem_map from the coded memmap
212 */ 212 */
213static
214struct page *sparse_decode_mem_map(unsigned long coded_mem_map, unsigned long pnum) 213struct page *sparse_decode_mem_map(unsigned long coded_mem_map, unsigned long pnum)
215{ 214{
216 /* mask off the extra low bits of information */ 215 /* mask off the extra low bits of information */
@@ -233,7 +232,7 @@ static int __meminit sparse_init_one_section(struct mem_section *ms,
233 return 1; 232 return 1;
234} 233}
235 234
236static unsigned long usemap_size(void) 235unsigned long usemap_size(void)
237{ 236{
238 unsigned long size_bytes; 237 unsigned long size_bytes;
239 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; 238 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8;