1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Stubs for out-of-line function calls caused by re-using kernel
4  * infrastructure at EL2.
5  *
6  * Copyright (C) 2020 - Google LLC
7  */
8 
9 #include <linux/list.h>
10 
11 #ifdef CONFIG_DEBUG_LIST
__list_add_valid(struct list_head * new,struct list_head * prev,struct list_head * next)12 bool __list_add_valid(struct list_head *new, struct list_head *prev,
13 		      struct list_head *next)
14 {
15 		return true;
16 }
17 
__list_del_entry_valid(struct list_head * entry)18 bool __list_del_entry_valid(struct list_head *entry)
19 {
20 		return true;
21 }
22 #endif
23