irq.h 386 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2012, NVIDIA Corporation. All rights reserved.
  4. */
  5. #ifndef __SOC_TEGRA_IRQ_H
  6. #define __SOC_TEGRA_IRQ_H
  7. #include <linux/types.h>
  8. #if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA)
  9. bool tegra_pending_sgi(void);
  10. #else
  11. static inline bool tegra_pending_sgi(void)
  12. {
  13. return false;
  14. }
  15. #endif
  16. #endif /* __SOC_TEGRA_IRQ_H */