Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 166f61b9 authored by Tobin C Harding's avatar Tobin C Harding Committed by Linus Torvalds
Browse files

mm: codgin-style fixes

parent 7f2b6ce8
Loading
Loading
Loading
Loading
+29 −31
Original line number Diff line number Diff line
@@ -82,9 +82,9 @@
#ifndef CONFIG_NEED_MULTIPLE_NODES
/* use the per-pgdat data instead for discontigmem - mbligh */
unsigned long max_mapnr;
struct page *mem_map;

EXPORT_SYMBOL(max_mapnr);

struct page *mem_map;
EXPORT_SYMBOL(mem_map);
#endif

@@ -96,7 +96,6 @@ EXPORT_SYMBOL(mem_map);
 * and ZONE_HIGHMEM.
 */
void *high_memory;

EXPORT_SYMBOL(high_memory);

/*
@@ -120,10 +119,10 @@ static int __init disable_randmaps(char *s)
__setup("norandmaps", disable_randmaps);

unsigned long zero_pfn __read_mostly;
unsigned long highest_memmap_pfn __read_mostly;

EXPORT_SYMBOL(zero_pfn);

unsigned long highest_memmap_pfn __read_mostly;

/*
 * CONFIG_MMU architectures set up ZERO_PAGE in their paging_init()
 */
@@ -1141,9 +1140,8 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb,
	arch_enter_lazy_mmu_mode();
	do {
		pte_t ptent = *pte;
		if (pte_none(ptent)) {
		if (pte_none(ptent))
			continue;
		}

		if (pte_present(ptent)) {
			struct page *page;