File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tools/testing/selftests/bpf/progs Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ __naked void load_acquire_8(void)
15
15
{
16
16
asm volatile (
17
17
"r0 = 0;"
18
- "w1 = 0x12 ;"
18
+ "w1 = 0xfe ;"
19
19
"*(u8 *)(r10 - 1) = w1;"
20
20
".8byte %[load_acquire_insn];" // w2 = load_acquire((u8 *)(r10 - 1));
21
21
"if r2 == r1 goto 1f;"
@@ -35,7 +35,7 @@ __naked void load_acquire_16(void)
35
35
{
36
36
asm volatile (
37
37
"r0 = 0;"
38
- "w1 = 0x1234 ;"
38
+ "w1 = 0xfedc ;"
39
39
"*(u16 *)(r10 - 2) = w1;"
40
40
".8byte %[load_acquire_insn];" // w2 = load_acquire((u16 *)(r10 - 2));
41
41
"if r2 == r1 goto 1f;"
@@ -55,7 +55,7 @@ __naked void load_acquire_32(void)
55
55
{
56
56
asm volatile (
57
57
"r0 = 0;"
58
- "w1 = 0x12345678 ;"
58
+ "w1 = 0xfedcba09 ;"
59
59
"*(u32 *)(r10 - 4) = w1;"
60
60
".8byte %[load_acquire_insn];" // w2 = load_acquire((u32 *)(r10 - 4));
61
61
"if r2 == r1 goto 1f;"
@@ -75,7 +75,7 @@ __naked void load_acquire_64(void)
75
75
{
76
76
asm volatile (
77
77
"r0 = 0;"
78
- "r1 = 0x1234567890abcdef ll;"
78
+ "r1 = 0xfedcba0987654321 ll;"
79
79
"*(u64 *)(r10 - 8) = r1;"
80
80
".8byte %[load_acquire_insn];" // r2 = load_acquire((u64 *)(r10 - 8));
81
81
"if r2 == r1 goto 1f;"
You can’t perform that action at this time.
0 commit comments