aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach/arb_sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/arb_sema.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/arb_sema.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/arb_sema.h b/arch/arm/mach-tegra/include/mach/arb_sema.h
new file mode 100644
index 00000000000..9283f079cf6
--- /dev/null
+++ b/arch/arm/mach-tegra/include/mach/arb_sema.h
@@ -0,0 +1,35 @@
1/*
2 * arch/arm/mach-tegra/include/mach/arb_sema.h
3 *
4 * Hardware arbitration semaphore interface
5 *
6 * Copyright (c) 2010, NVIDIA Corporation.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */
22
23#ifndef __MACH_TEGRA_ARB_SEMA_H
24#define __MACH_TEGRA_ARB_SEMA_H
25
26enum tegra_arb_module {
27 TEGRA_ARB_BSEV = 0,
28 TEGRA_ARB_BSEA,
29};
30
31int tegra_arb_mutex_lock_timeout(enum tegra_arb_module lock, int msecs);
32
33int tegra_arb_mutex_unlock(enum tegra_arb_module lock);
34
35#endif