From: Oleg Nesterov Date: Thu, 9 Oct 2014 22:27:43 +0000 (-0700) Subject: mempolicy: change get_task_policy() to return default_policy rather than NULL X-Git-Tag: omap-for-v3.19/prcm-cleanup~134^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15ca78e33b0bb5acc0c5d9a5d5be3c55c4f0bb7;p=pandora-kernel.git mempolicy: change get_task_policy() to return default_policy rather than NULL Every caller of get_task_policy() falls back to default_policy if it returns NULL. Change get_task_policy() to do this. Signed-off-by: Oleg Nesterov Cc: KAMEZAWA Hiroyuki Cc: David Rientjes Cc: KOSAKI Motohiro Cc: Alexander Viro Cc: Cyrill Gorcunov Cc: "Eric W. Biederman" Cc: "Kirill A. Shutemov" Cc: Peter Zijlstra Cc: Hugh Dickins Cc: Andi Kleen Cc: Naoya Horiguchi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed