psci.h 771 B

1234567891011121314151617181920212223242526
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License version 2 as
  4. * published by the Free Software Foundation.
  5. *
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. * GNU General Public License for more details.
  10. *
  11. * Copyright (C) 2012 ARM Limited
  12. */
  13. #ifndef __ASM_ARM_PSCI_H
  14. #define __ASM_ARM_PSCI_H
  15. extern const struct smp_operations psci_smp_ops;
  16. #if defined(CONFIG_SMP) && defined(CONFIG_ARM_PSCI)
  17. bool psci_smp_available(void);
  18. #else
  19. static inline bool psci_smp_available(void) { return false; }
  20. #endif
  21. #endif /* __ASM_ARM_PSCI_H */