psci.h 379 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. *
  4. * Copyright (C) 2012 ARM Limited
  5. */
  6. #ifndef __ASM_ARM_PSCI_H
  7. #define __ASM_ARM_PSCI_H
  8. extern const struct smp_operations psci_smp_ops;
  9. #if defined(CONFIG_SMP) && defined(CONFIG_ARM_PSCI)
  10. bool psci_smp_available(void);
  11. #else
  12. static inline bool psci_smp_available(void) { return false; }
  13. #endif
  14. #endif /* __ASM_ARM_PSCI_H */