aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ds_selftest.h
blob: 2ba8745c66631be0672daaad5e03366c4c3c37bf (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