dect
/
linux-2.6
Archived
13
0
Fork 0

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 617d34d9e5.

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>
This commit is contained in:
Borislav Petkov 2010-10-19 22:17:37 +00:00 committed by H. Peter Anvin
parent 617d34d9e5
commit f01f7c56a1
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void vmalloc_sync_all(void)
spin_lock_irqsave(&pgd_lock, flags);
list_for_each_entry(page, &pgd_list, lru) {
spinlock_t *pgt_lock;
int ret;
pmd_t *ret;
pgt_lock = &pgd_page_get_mm(page)->page_table_lock;