mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
selftests/rseq: Fix warnings about #if checks of undefined tokens
commit d7ed99ade3e62b755584eea07b4e499e79240527 upstream. Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
6f87493c3a
commit
1c9f13880f
2 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ unsigned int yield_mod_cnt, nr_abort;
|
|||
" cbnz " INJECT_ASM_REG ", 222b\n" \
|
||||
"333:\n"
|
||||
|
||||
#elif __PPC__
|
||||
#elif defined(__PPC__)
|
||||
|
||||
#define RSEQ_INJECT_INPUT \
|
||||
, [loop_cnt_1]"m"(loop_cnt[1]) \
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect,
|
|||
|
||||
#endif /* !RSEQ_SKIP_FASTPATH */
|
||||
|
||||
#elif __i386__
|
||||
#elif defined(__i386__)
|
||||
|
||||
#define rseq_smp_mb() \
|
||||
__asm__ __volatile__ ("lock; addl $0,-128(%%esp)" ::: "memory", "cc")
|
||||
|
|
|
|||
Loading…
Reference in a new issue