ds_selftest.h 363 B

123456789101112131415
  1. /*
  2. * Debug Store support - selftest
  3. *
  4. *
  5. * Copyright (C) 2009 Intel Corporation.
  6. * Markus Metzger <markus.t.metzger@intel.com>, 2009
  7. */
  8. #ifdef CONFIG_X86_DS_SELFTEST
  9. extern int ds_selftest_bts(void);
  10. extern int ds_selftest_pebs(void);
  11. #else
  12. static inline int ds_selftest_bts(void) { return 0; }
  13. static inline int ds_selftest_pebs(void) { return 0; }
  14. #endif