blob: 7fc82a233f4957c97bf8f0913a43bacd04a7eefc [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Sam Ravnborgf5e706a2008-07-17 21:55:51 -07002/* spinlock.h: 64-bit Sparc spinlock support.
3 *
4 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7#ifndef __SPARC64_SPINLOCK_H
8#define __SPARC64_SPINLOCK_H
9
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070010#ifndef __ASSEMBLY__
11
Peter Zijlstra726328d2016-05-26 10:35:03 +020012#include <asm/processor.h>
13#include <asm/barrier.h>
Babu Mogera37594f2017-05-24 17:55:13 -060014#include <asm/qrwlock.h>
Babu Moger145d9782017-05-24 17:55:15 -060015#include <asm/qspinlock.h>
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070016
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070017#endif /* !(__ASSEMBLY__) */
18
19#endif /* !(__SPARC64_SPINLOCK_H) */