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