diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index ee16b1b..c7fe876 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c @@ -730,7 +730,7 @@ static int __change_page_attr_set_clr(struct cpa_data *cpa, int checkalias) if (cpa->array) cpa->curaddr++; else - cpa->vaddr += cpa->numpages * PAGE_SIZE; + *cpa->vaddr += cpa->numpages * PAGE_SIZE; } return 0; }