Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276070
b: refs/heads/master
c: ca06679
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Nov 22, 2011
1 parent 0734c97 commit 1a6c02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c6d8319eca370f804fb8e1fcf7070b587d1b81d
refs/heads/master: ca06679d758933b726c2677b523a26bc581eadcf
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-mx5/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <mach/hardware.h>
#include <asm/io.h>
#include <linux/io.h>

static int mx5_cpu_rev = -1;

Expand Down Expand Up @@ -67,7 +67,8 @@ static int __init mx51_neon_fixup(void)
if (!cpu_is_mx51())
return 0;

if (mx51_revision() < IMX_CHIP_REVISION_3_0 && (elf_hwcap & HWCAP_NEON)) {
if (mx51_revision() < IMX_CHIP_REVISION_3_0 &&
(elf_hwcap & HWCAP_NEON)) {
elf_hwcap &= ~HWCAP_NEON;
pr_info("Turning off NEON support, detected broken NEON implementation\n");
}
Expand Down

0 comments on commit 1a6c02d

Please sign in to comment.