Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.14-rc5 23 lines 552 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_SH_HUGETLB_H 3#define _ASM_SH_HUGETLB_H 4 5#include <asm/cacheflush.h> 6#include <asm/page.h> 7 8#define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH 9static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, 10 unsigned long addr, pte_t *ptep) 11{ 12 return *ptep; 13} 14 15static inline void arch_clear_hugetlb_flags(struct folio *folio) 16{ 17 clear_bit(PG_dcache_clean, &folio->flags); 18} 19#define arch_clear_hugetlb_flags arch_clear_hugetlb_flags 20 21#include <asm-generic/hugetlb.h> 22 23#endif /* _ASM_SH_HUGETLB_H */