sched: Use proper type in sched_getaffinity()
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Wed, 17 Mar 2010 00:36:58 +0000 (09:36 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Mar 2010 09:48:49 +0000 (10:48 +0100)
commit8bc037fb89bb3104b9ae290d18c877624cd7d9cc
tree33a95e7bf529ea6bdb28d1dda86f49450f9dc883
parentc890692bf37671b5b78a1870d55d6d87e1c8a509
sched: Use proper type in sched_getaffinity()

Using the proper type fixes the following compiler warning:

  kernel/sched.c:4850: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: torvalds@linux-foundation.org
Cc: travis@sgi.com
Cc: peterz@infradead.org
Cc: drepper@redhat.com
Cc: rja@sgi.com
Cc: sharyath@in.ibm.com
Cc: steiner@sgi.com
LKML-Reference: <20100317090046.4C79.A69D9226@jp.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c