• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2022 Google LLC
4  * Author: Keir Fraser <keirf@google.com>
5  */
6 
7 #ifndef __MEM_RELINQUISH_H__
8 #define __MEM_RELINQUISH_H__
9 
10 #ifdef CONFIG_MEMORY_RELINQUISH
11 
12 #include <asm/mem_relinquish.h>
13 
14 #else	/* !CONFIG_MEMORY_RELINQUISH */
15 
page_relinquish(struct page * page)16 static inline void page_relinquish(struct page *page) { }
post_page_relinquish_tlb_inv(void)17 static inline void post_page_relinquish_tlb_inv(void) { }
18 
19 #endif	/* CONFIG_MEMORY_RELINQUISH */
20 
21 #endif	/* __MEM_RELINQUISH_H__ */
22