summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/nvhe/stub.c
blob: c0aa6bbfd79db338c41e42a526ad07d8dd8ae2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Stubs for out-of-line function calls caused by re-using kernel
 * infrastructure at EL2.
 *
 * Copyright (C) 2020 - Google LLC
 */

#include <linux/list.h>

#ifdef CONFIG_DEBUG_LIST
bool __list_add_valid(struct list_head *new, struct list_head *prev,
		      struct list_head *next)
{
		return true;
}

bool __list_del_entry_valid(struct list_head *entry)
{
		return true;
}
#endif