sched/numa: Use wrapper function task_faults_idx to calculate index in group_faults
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 12 Dec 2013 07:23:25 +0000 (15:23 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Dec 2013 14:24:40 +0000 (15:24 +0100)
commit82897b4fd3920ffd2456731d4f2ae1406558ef4c
treee588319efc67d5b933745320a558fd1407280136
parentde1b301a19754778ddd9f908d266ffe1c010b2cf
sched/numa: Use wrapper function task_faults_idx to calculate index in group_faults

Use wrapper function task_faults_idx to calculate index in group_faults.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Rik van Riel <riel@redhat.com>
Link: http://lkml.kernel.org/r/1386833006-6600-3-git-send-email-liwanp@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c