• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /***************************************************************************
2                           HTenabled.c  -  description
3                              -------------------
4     email                : sonic,zhang@intel.com
5  ***************************************************************************/
6 
7 /***************************************************************************
8  *                                                                         *
9  *   This program is free software; you can redistribute it and/or modify  *
10  *   it under the terms of the GNU General Public License as published by  *
11  *   the Free Software Foundation; either version 2 of the License, or     *
12  *   (at your option) any later version.                                   *
13  *                                                                         *
14  ***************************************************************************/
15 
16 #include "test.h"
17 #include "ht_utils.h"
18 
19 char *TCID = "smt_smp_enabled";
20 int TST_TOTAL = 1;
21 
main(int argc,char * argv[])22 int main(int argc, char *argv[])
23 {
24 	int ret_val = 1;
25 #if  (!defined __x86_64__ && !defined __i386__)
26 	tst_brkm(TCONF, NULL,
27 		 "This test suite can only execute on x86 architecture.");
28 #else
29 	ret_val = check_ht_capability();
30 #endif
31 	return ret_val;
32 }
33