diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-09-10 15:53:37 +0200 |
---|---|---|
committer | Peter Meerwald <pmeerw@pmeerw.net> | 2014-09-10 16:01:57 +0200 |
commit | 61c888dc936ade04b8c57442cc1ed716b4f535bf (patch) | |
tree | 3a532e9c085169df24ebfd0bce5086be122d9818 /src | |
parent | 380591eb18daaddccc054073438a011df0e8bf20 (diff) |
cpu: Don't check for both x86 and ARM code
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/cpu.c b/src/pulsecore/cpu.c index 542e86f34..814abf676 100644 --- a/src/pulsecore/cpu.c +++ b/src/pulsecore/cpu.c @@ -26,7 +26,7 @@ void pa_cpu_init(pa_cpu_info *cpu_info) { if (!getenv("PULSE_NO_SIMD")) { if (pa_cpu_init_x86(&cpu_info->flags.x86)) cpu_info->cpu_type = PA_CPU_X86; - if (pa_cpu_init_arm(&cpu_info->flags.arm)) + else if (pa_cpu_init_arm(&cpu_info->flags.arm)) cpu_info->cpu_type = PA_CPU_ARM; pa_cpu_init_orc(*cpu_info); } |