mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
mm: codgin-style fixes
Fix whitespace issues, extraneous braces. Link: http://lkml.kernel.org/r/1485992240-10986-5-git-send-email-me@tobin.cc Signed-off-by: Tobin C Harding <me@tobin.cc> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7f2b6ce8e3
commit
166f61b943
1 changed files with 29 additions and 31 deletions
12
mm/memory.c
12
mm/memory.c
|
@ -82,9 +82,9 @@
|
||||||
#ifndef CONFIG_NEED_MULTIPLE_NODES
|
#ifndef CONFIG_NEED_MULTIPLE_NODES
|
||||||
/* use the per-pgdat data instead for discontigmem - mbligh */
|
/* use the per-pgdat data instead for discontigmem - mbligh */
|
||||||
unsigned long max_mapnr;
|
unsigned long max_mapnr;
|
||||||
struct page *mem_map;
|
|
||||||
|
|
||||||
EXPORT_SYMBOL(max_mapnr);
|
EXPORT_SYMBOL(max_mapnr);
|
||||||
|
|
||||||
|
struct page *mem_map;
|
||||||
EXPORT_SYMBOL(mem_map);
|
EXPORT_SYMBOL(mem_map);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -96,7 +96,6 @@ EXPORT_SYMBOL(mem_map);
|
||||||
* and ZONE_HIGHMEM.
|
* and ZONE_HIGHMEM.
|
||||||
*/
|
*/
|
||||||
void *high_memory;
|
void *high_memory;
|
||||||
|
|
||||||
EXPORT_SYMBOL(high_memory);
|
EXPORT_SYMBOL(high_memory);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -120,10 +119,10 @@ static int __init disable_randmaps(char *s)
|
||||||
__setup("norandmaps", disable_randmaps);
|
__setup("norandmaps", disable_randmaps);
|
||||||
|
|
||||||
unsigned long zero_pfn __read_mostly;
|
unsigned long zero_pfn __read_mostly;
|
||||||
unsigned long highest_memmap_pfn __read_mostly;
|
|
||||||
|
|
||||||
EXPORT_SYMBOL(zero_pfn);
|
EXPORT_SYMBOL(zero_pfn);
|
||||||
|
|
||||||
|
unsigned long highest_memmap_pfn __read_mostly;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CONFIG_MMU architectures set up ZERO_PAGE in their paging_init()
|
* CONFIG_MMU architectures set up ZERO_PAGE in their paging_init()
|
||||||
*/
|
*/
|
||||||
|
@ -1141,9 +1140,8 @@ again:
|
||||||
arch_enter_lazy_mmu_mode();
|
arch_enter_lazy_mmu_mode();
|
||||||
do {
|
do {
|
||||||
pte_t ptent = *pte;
|
pte_t ptent = *pte;
|
||||||
if (pte_none(ptent)) {
|
if (pte_none(ptent))
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
if (pte_present(ptent)) {
|
if (pte_present(ptent)) {
|
||||||
struct page *page;
|
struct page *page;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue