pgtable.h (32ea4c14999006fea541b5f78d008fffc1656849) pgtable.h (1e03c7e2ea83b0acac7934e55943d1d4354baa43)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_PGTABLE_H
3#define _ASM_POWERPC_PGTABLE_H
4
5#ifndef __ASSEMBLY__
6#include <linux/mmdebug.h>
7#include <linux/mmzone.h>
8#include <asm/processor.h> /* For TASK_SIZE */

--- 87 unchanged lines hidden (view full) ---

96 struct page **pages, int *nr);
97#ifndef CONFIG_TRANSPARENT_HUGEPAGE
98#define pmd_large(pmd) 0
99#endif
100
101/* can we use this in kvm */
102unsigned long vmalloc_to_phys(void *vmalloc_addr);
103
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_POWERPC_PGTABLE_H
3#define _ASM_POWERPC_PGTABLE_H
4
5#ifndef __ASSEMBLY__
6#include <linux/mmdebug.h>
7#include <linux/mmzone.h>
8#include <asm/processor.h> /* For TASK_SIZE */

--- 87 unchanged lines hidden (view full) ---

96 struct page **pages, int *nr);
97#ifndef CONFIG_TRANSPARENT_HUGEPAGE
98#define pmd_large(pmd) 0
99#endif
100
101/* can we use this in kvm */
102unsigned long vmalloc_to_phys(void *vmalloc_addr);
103
104void pgtable_cache_add(unsigned shift, void (*ctor)(void *));
104void pgtable_cache_add(unsigned int shift);
105void pgtable_cache_init(void);
106
107#if defined(CONFIG_STRICT_KERNEL_RWX) || defined(CONFIG_PPC32)
108void mark_initmem_nx(void);
109#else
110static inline void mark_initmem_nx(void) { }
111#endif
112

--- 32 unchanged lines hidden ---
105void pgtable_cache_init(void);
106
107#if defined(CONFIG_STRICT_KERNEL_RWX) || defined(CONFIG_PPC32)
108void mark_initmem_nx(void);
109#else
110static inline void mark_initmem_nx(void) { }
111#endif
112

--- 32 unchanged lines hidden ---