Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
f98a3dc
Documentation
LICENSES
arch
alpha
arc
arm
arm64
csky
h8300
hexagon
ia64
m68k
microblaze
mips
nds32
nios2
openrisc
boot
configs
include
asm
bitops
Kbuild
asm-offsets.h
atomic.h
barrier.h
bitops.h
cache.h
cacheflush.h
cmpxchg.h
cpuinfo.h
delay.h
elf.h
fixmap.h
futex.h
io.h
irq.h
irqflags.h
linkage.h
mmu.h
mmu_context.h
page.h
pgalloc.h
pgtable.h
processor.h
ptrace.h
serial.h
setup.h
smp.h
spinlock.h
spinlock_types.h
spr.h
spr_defs.h
string.h
syscall.h
syscalls.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
uaccess.h
unwinder.h
vmalloc.h
uapi
kernel
lib
mm
Kbuild
Kconfig
Kconfig.debug
Makefile
parisc
powerpc
riscv
s390
sh
sparc
um
x86
xtensa
.gitignore
Kconfig
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Breadcrumbs
linux
/
arch
/
openrisc
/
include
/
asm
/
spinlock.h
Blame
Blame
Latest commit
History
History
27 lines (21 loc) · 649 Bytes
Breadcrumbs
linux
/
arch
/
openrisc
/
include
/
asm
/
spinlock.h
Top
File metadata and controls
Code
Blame
27 lines (21 loc) · 649 Bytes
Raw
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * OpenRISC Linux * * Linux architectural port borrowing liberally from similar works of * others. All original copyrights apply as per the original source * declaration. * * OpenRISC implementation: * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> * et al. */ #ifndef __ASM_OPENRISC_SPINLOCK_H #define __ASM_OPENRISC_SPINLOCK_H #include <asm/qspinlock.h> #include <asm/qrwlock.h> #define arch_spin_relax(lock) cpu_relax() #define arch_read_relax(lock) cpu_relax() #define arch_write_relax(lock) cpu_relax() #endif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
You can’t perform that action at this time.