Skip to content

Commit

Permalink
x86, mm: Fix incorrect data type in vmalloc_sync_all()
Browse files Browse the repository at this point in the history
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 617d34d.

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>
  • Loading branch information
Borislav Petkov authored and H. Peter Anvin committed Oct 20, 2010
1 parent 617d34d commit f01f7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f01f7c5

Please sign in to comment.