summaryrefslogtreecommitdiff
path: root/tools/perf/arch/arm64/tests/regs_load.S
blob: 025b46e579a6faebe17b2998052d749dee43981d (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include <linux/linkage.h>

.text
.type perf_regs_load,%function
#define STR_REG(r)	str x##r, [x0, 8 * r]
#define LDR_REG(r)	ldr x##r, [x0, 8 * r]
#define SP	(8 * 31)
#define PC	(8 * 32)
ENTRY(perf_regs_load)
	STR_REG(0)
	STR_REG(1)
	STR_REG(2)
	STR_REG(3)
	STR_REG(4)
	STR_REG(5)
	STR_REG(6)
	STR_REG(7)
	STR_REG(8)
	STR_REG(9)
	STR_REG(10)
	STR_REG(11)
	STR_REG(12)
	STR_REG(13)
	STR_REG(14)
	STR_REG(15)
	STR_REG(16)
	STR_REG(17)
	STR_REG(18)
	STR_REG(19)
	STR_REG(20)
	STR_REG(21)
	STR_REG(22)
	STR_REG(23)
	STR_REG(24)
	STR_REG(25)
	STR_REG(26)
	STR_REG(27)
	STR_REG(28)
	STR_REG(29)
	STR_REG(30)
	mov x1, sp
	str x1, [x0, #SP]
	str x30, [x0, #PC]
	LDR_REG(1)
	ret
ENDPROC(perf_regs_load)
ld/Makefile.feature?h=nds-private-remove&id=2eabb8b8d68bc9c7779ba8b04bec8d4f8baed0bc&id2=49def1853334396f948dcb4cedb9347abb318df5'>diff)parentce1ca7d2d140a1f4aaffd297ac487f246963dd2f (diff)
Merge tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux
Pull nfsd fixes from Bruce Fields: "Miscellaneous nfsd bugfixes, one for a 4.10 regression, three for older bugs" * tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux: svcrdma: avoid duplicate dma unmapping during error recovery sunrpc: don't call sleeping functions from the notifier block callbacks svcrpc: don't leak contexts on PROC_DESTROY nfsd: fix supported attributes for acl & labels
Diffstat (limited to 'tools/build/Makefile.feature')