summaryrefslogtreecommitdiffstats
path: root/include/soc/tegra/irq.h
blob: 94539551c8c1f3a9e6b3abe46d71bd0a9e404537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2012, NVIDIA Corporation. All rights reserved.
 */

#ifndef __SOC_TEGRA_IRQ_H
#define __SOC_TEGRA_IRQ_H

#include <linux/types.h>

#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA)
bool tegra_pending_sgi(void);
#else
static inline bool tegra_pending_sgi(void)
{
	return false;
}
#endif

#endif /* __SOC_TEGRA_IRQ_H */