aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-10-19 18:17:37 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2010-10-20 15:54:04 -0400
commitf01f7c56a1425b9749a99af821e1de334fb64d7e (patch)
tree9e464fa64b04ab1291b58c1f36a09f85c1dce18d
parent617d34d9e5d8326ec8f188c616aa06ac59d083fe (diff)
x86, mm: Fix incorrect data type in vmalloc_sync_all()
arch/x86/mm/fault.c: In function 'vmalloc_sync_all': arch/x86/mm/fault.c:238: warning: assignment makes integer from pointer without a cast introduced by 617d34d9e5d8326ec8f188c616aa06ac59d083fe. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> LKML-Reference: <20101020103642.GA3135@kryptos.osrc.amd.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--arch/x86/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 6c27c39f8a37..0cdb8d493f61 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -230,7 +230,7 @@ void vmalloc_sync_all(void)
230 spin_lock_irqsave(&pgd_lock, flags); 230 spin_lock_irqsave(&pgd_lock, flags);
231 list_for_each_entry(page, &pgd_list, lru) { 231 list_for_each_entry(page, &pgd_list, lru) {
232 spinlock_t *pgt_lock; 232 spinlock_t *pgt_lock;
233 int ret; 233 pmd_t *ret;
234 234
235 pgt_lock = &pgd_page_get_mm(page)->page_table_lock; 235 pgt_lock = &pgd_page_get_mm(page)->page_table_lock;
236 236