We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe79e7 commit a92ede2Copy full SHA for a92ede2
arch/x86/include/asm/GEN-for-each-reg.h
@@ -1,11 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
2
+/*
3
+ * These are in machine order; things rely on that.
4
+ */
5
#ifdef CONFIG_64BIT
6
GEN(rax)
-GEN(rbx)
7
GEN(rcx)
8
GEN(rdx)
9
+GEN(rbx)
10
+GEN(rsp)
11
+GEN(rbp)
12
GEN(rsi)
13
GEN(rdi)
-GEN(rbp)
14
GEN(r8)
15
GEN(r9)
16
GEN(r10)
@@ -16,10 +21,11 @@ GEN(r14)
21
GEN(r15)
17
22
#else
18
23
GEN(eax)
19
-GEN(ebx)
20
24
GEN(ecx)
25
GEN(edx)
26
+GEN(ebx)
27
+GEN(esp)
28
+GEN(ebp)
29
GEN(esi)
30
GEN(edi)
-GEN(ebp)
31
#endif
0 commit comments