aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ds_selftest.h
blob: 0e6e19d4c7d236ee004443add83daea561da9b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Debug Store support - selftest
 *
 *
 * Copyright (C) 2009 Intel Corporation.
 * Markus Metzger <markus.t.metzger@intel.com>, 2009
 */

#ifdef CONFIG_X86_DS_SELFTEST
extern int ds_selftest_bts(void);
extern int ds_selftest_pebs(void);
#else
static inline int ds_selftest_bts(void) { return 0; }
static inline int ds_selftest_pebs(void) { return 0; }
#endif /* CONFIG_X86_DS_SELFTEST */