diff options
author | Nikanth Karthikesan <knikanth@suse.de> | 2009-05-28 23:34:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-29 17:40:03 +0200 |
commit | 46f7e602fb32e02145ef14f8c0ca6d399f0a96b9 (patch) | |
tree | 3db67ceec30ffc1ababad1d79c11ba8a61fa037c /drivers/edac | |
parent | mm: account for MAP_SHARED mappings using VM_MAYSHARE and not VM_SHARED in hu... (diff) | |
download | linux-46f7e602fb32e02145ef14f8c0ca6d399f0a96b9.tar.xz linux-46f7e602fb32e02145ef14f8c0ca6d399f0a96b9.zip |
memcg: fix build warning and avoid checking for mem != null again and again
Fix build warning, "mem_cgroup_is_obsolete defined but not used" when
CONFIG_DEBUG_VM is not set. Also avoid checking for !mem again and again.
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions