[PATCH 2/2] arch: hexagon: include: asm: use 'affinity' instead of 'locdis' for __vmintop_affinity() in "hexagon_vm.h"

Chen Gang
2013-11-25T02:39:11Z

All __vmintop_*() use __vmintop(*, ...), so __vmintop_affinity() need
use __vmintop(vm_affinity, ...).

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
arch/hexagon/include/asm/hexagon_vm.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/hexagon/include/asm/hexagon_vm.h b/arch/hexagon/include/asm/hexagon_vm.h
index e1e0470..3ea99c1 100644
--- a/arch/hexagon/include/asm/hexagon_vm.h
+++ b/arch/hexagon/include/asm/hexagon_vm.h
@@ -161,7 +161,7 @@ static inline long __vmintop_locdis(long i)

static inline long __vmintop_affinity(long i, long cpu)
{
- return __vmintop(locdis, i, cpu, 0, 0);
+ return __vmintop(vm_affinity, i, cpu, 0, 0);
}

static inline long __vmintop_get(void)
--
1.7.7.6