diff options
author | David Rientjes <[email protected]> | 2012-10-10 15:54:08 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-10-11 08:50:16 +0900 |
commit | cd59085a9b89585f20b4765f74c04e8c527f09f2 (patch) | |
tree | bc3c7f4b4343d1e74a1f54b17d25069bf62ca3e9 /tools/perf/scripts/python/syscall-counts.py | |
parent | 8dc0839510ed4a7c594386ef58446b014fb4c27a (diff) |
memcg, kmem: fix build error when CONFIG_INET is disabled
Commit e1aab161e013 ("socket: initial cgroup code.") causes a build
error when CONFIG_INET is disabled in Linus' tree:
net/built-in.o: In function `sk_update_clone':
net/core/sock.c:1336: undefined reference to `sock_update_memcg'
sock_update_memcg() is only defined when CONFIG_INET is enabled, so fix
it by defining the dummy function without this option.
Signed-off-by: David Rientjes <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Fengguang Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions