topology.h 398 B

1234567891011121314151617
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2007 by Ralf Baechle
  7. */
  8. #ifndef __ASM_TOPOLOGY_H
  9. #define __ASM_TOPOLOGY_H
  10. #include <topology.h>
  11. #ifdef CONFIG_SMP
  12. #define smt_capable() (smp_num_siblings > 1)
  13. #endif
  14. #endif /* __ASM_TOPOLOGY_H */