diff options
author | Lee Schermerhorn <lee.schermerhorn@hp.com> | 2010-03-23 21:35:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-25 00:31:22 +0100 |
commit | c6b6ef8bb05af632889c5536513b9f4004961f73 (patch) | |
tree | 85f90f246fa1da0d47c48c43a735bbfac33c542e /drivers/cpuidle/Kconfig | |
parent | mmc: fix incorrect interpretation of card type bits (diff) | |
download | linux-c6b6ef8bb05af632889c5536513b9f4004961f73.tar.xz linux-c6b6ef8bb05af632889c5536513b9f4004961f73.zip |
mempolicy: fix get_mempolicy() for relative and static nodes
Discovered while testing other mempolicy changes:
get_mempolicy() does not handle static/relative mode flags correctly.
Return the value that the user specified so that it can be restored
via set_mempolicy() if desired.
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Ravikiran Thirumalai <kiran@scalex86.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpuidle/Kconfig')
0 files changed, 0 insertions, 0 deletions