x86, MM: virtual address debug, cleanups
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -180,8 +180,10 @@ struct page *vmalloc_to_page(const void *vmalloc_addr)
|
|||||||
pmd_t *pmd;
|
pmd_t *pmd;
|
||||||
pte_t *ptep, pte;
|
pte_t *ptep, pte;
|
||||||
|
|
||||||
/* XXX we might need to change this if we add VIRTUAL_BUG_ON for
|
/*
|
||||||
* architectures that do not vmalloc module space */
|
* XXX we might need to change this if we add VIRTUAL_BUG_ON for
|
||||||
|
* architectures that do not vmalloc module space
|
||||||
|
*/
|
||||||
VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) &&
|
VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) &&
|
||||||
!is_module_address(addr));
|
!is_module_address(addr));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user