Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> Date: 28/04/2010 at 00:16:06 Revision: 4419 Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Fix the command used to enable alignment traps on ARM. Modified: M hipd/hipd.c === modified file 'hipd/hipd.c' --- hipd/hipd.c 2010-04-27 16:38:06 +0000 +++ hipd/hipd.c 2010-04-27 21:15:32 +0000 @@ -434,7 +434,7 @@ if (fix_alignment) { HIP_DEBUG("Setting alignment traps to 3(fix+ warn)\n"); - if (system("echo 3 > /proc/cpu/alignment == -1")) { + if (system("echo 3 > /proc/cpu/alignment")) { HIP_ERROR("Setting alignment traps failed."); } }