Merge tag 'sysctl-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof...
[linux-block.git] / lib / kunit / hooks.c
CommitLineData
7170b7ed
DG
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * KUnit 'Hooks' implementation.
4 *
5 * This file contains code / structures which should be built-in even when
6 * KUnit itself is built as a module.
7 *
8 * Copyright (C) 2022, Google LLC.
9 * Author: David Gow <davidgow@google.com>
10 */
11
12
13#include <kunit/test-bug.h>
14
15DEFINE_STATIC_KEY_FALSE(kunit_running);
16EXPORT_SYMBOL(kunit_running);
17
18/* Function pointers for hooks. */
19struct kunit_hooks_table kunit_hooks;
20EXPORT_SYMBOL(kunit_hooks);
21