diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/vmalloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index dc41e9c8ca6f..830a5580c5d7 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -180,8 +180,10 @@ struct page *vmalloc_to_page(const void *vmalloc_addr) | |||
180 | pmd_t *pmd; | 180 | pmd_t *pmd; |
181 | pte_t *ptep, pte; | 181 | pte_t *ptep, pte; |
182 | 182 | ||
183 | /* XXX we might need to change this if we add VIRTUAL_BUG_ON for | 183 | /* |
184 | * architectures that do not vmalloc module space */ | 184 | * XXX we might need to change this if we add VIRTUAL_BUG_ON for |
185 | * architectures that do not vmalloc module space | ||
186 | */ | ||
185 | VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) && | 187 | VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) && |
186 | !is_module_address(addr)); | 188 | !is_module_address(addr)); |
187 | 189 | ||