]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blame - arch/powerpc/include/asm/nohash/pgalloc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-disco-kernel.git] / arch / powerpc / include / asm / nohash / pgalloc.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
75a9b8a6
AK
2#ifndef _ASM_POWERPC_NOHASH_PGALLOC_H
3#define _ASM_POWERPC_NOHASH_PGALLOC_H
4
5#include <linux/mm.h>
6
7extern void tlb_remove_table(struct mmu_gather *tlb, void *table);
8#ifdef CONFIG_PPC64
9extern void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address);
10#else
11/* 44x etc which is BOOKE not BOOK3E */
12static inline void tlb_flush_pgtable(struct mmu_gather *tlb,
13 unsigned long address)
14{
15
16}
17#endif /* !CONFIG_PPC_BOOK3E */
18
19#ifdef CONFIG_PPC64
20#include <asm/nohash/64/pgalloc.h>
21#else
22#include <asm/nohash/32/pgalloc.h>
23#endif
24#endif /* _ASM_POWERPC_NOHASH_PGALLOC_H */