diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-10-14 20:04:59 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-10-19 16:56:03 -0400 |
commit | 44235dcde416104b8e1db7606c283f4c0149c760 (patch) | |
tree | 5d17d4eddb66567ffc08a3f2e38c2790990714fc /arch/x86/mm/init_64.c | |
parent | a416e9e1dde0fbcf20cda59df284cc0dcf2aadc4 (diff) |
x86, mm: Fix bogus whitespace in sync_global_pgds()
Whitespace cleanup only.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 74f0f358b07b..1ad7c0ff5d2b 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -103,28 +103,28 @@ __setup("noexec32=", nonx32_setup); | |||
103 | */ | 103 | */ |
104 | void sync_global_pgds(unsigned long start, unsigned long end) | 104 | void sync_global_pgds(unsigned long start, unsigned long end) |
105 | { | 105 | { |
106 | unsigned long address; | 106 | unsigned long address; |
107 | 107 | ||
108 | for (address = start; address <= end; address += PGDIR_SIZE) { | 108 | for (address = start; address <= end; address += PGDIR_SIZE) { |
109 | const pgd_t *pgd_ref = pgd_offset_k(address); | 109 | const pgd_t *pgd_ref = pgd_offset_k(address); |
110 | unsigned long flags; | 110 | unsigned long flags; |
111 | struct page *page; | 111 | struct page *page; |
112 | 112 | ||
113 | if (pgd_none(*pgd_ref)) | 113 | if (pgd_none(*pgd_ref)) |
114 | continue; | 114 | continue; |
115 | 115 | ||
116 | spin_lock_irqsave(&pgd_lock, flags); | 116 | spin_lock_irqsave(&pgd_lock, flags); |
117 | list_for_each_entry(page, &pgd_list, lru) { | 117 | list_for_each_entry(page, &pgd_list, lru) { |
118 | pgd_t *pgd; | 118 | pgd_t *pgd; |
119 | pgd = (pgd_t *)page_address(page) + pgd_index(address); | 119 | pgd = (pgd_t *)page_address(page) + pgd_index(address); |
120 | if (pgd_none(*pgd)) | 120 | if (pgd_none(*pgd)) |
121 | set_pgd(pgd, *pgd_ref); | 121 | set_pgd(pgd, *pgd_ref); |
122 | else | 122 | else |
123 | BUG_ON(pgd_page_vaddr(*pgd) | 123 | BUG_ON(pgd_page_vaddr(*pgd) |
124 | != pgd_page_vaddr(*pgd_ref)); | 124 | != pgd_page_vaddr(*pgd_ref)); |
125 | } | 125 | } |
126 | spin_unlock_irqrestore(&pgd_lock, flags); | 126 | spin_unlock_irqrestore(&pgd_lock, flags); |
127 | } | 127 | } |
128 | } | 128 | } |
129 | 129 | ||
130 | /* | 130 | /* |