Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 2 | /* 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 Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 10 | #ifndef __ASSEMBLY__ |
| 11 | |
Peter Zijlstra | 726328d | 2016-05-26 10:35:03 +0200 | [diff] [blame] | 12 | #include <asm/processor.h> |
| 13 | #include <asm/barrier.h> |
Babu Moger | a37594f | 2017-05-24 17:55:13 -0600 | [diff] [blame] | 14 | #include <asm/qrwlock.h> |
Babu Moger | 145d978 | 2017-05-24 17:55:15 -0600 | [diff] [blame] | 15 | #include <asm/qspinlock.h> |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 16 | |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 17 | #endif /* !(__ASSEMBLY__) */ |
| 18 | |
| 19 | #endif /* !(__SPARC64_SPINLOCK_H) */ |