diff options
-rw-r--r-- | include/linux/memcontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 1513994ce207..9b296ea41bb8 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h | |||
@@ -384,13 +384,13 @@ mem_cgroup_print_bad_page(struct page *page) | |||
384 | } | 384 | } |
385 | #endif | 385 | #endif |
386 | 386 | ||
387 | #ifdef CONFIG_INET | ||
388 | enum { | 387 | enum { |
389 | UNDER_LIMIT, | 388 | UNDER_LIMIT, |
390 | SOFT_LIMIT, | 389 | SOFT_LIMIT, |
391 | OVER_LIMIT, | 390 | OVER_LIMIT, |
392 | }; | 391 | }; |
393 | 392 | ||
393 | #ifdef CONFIG_INET | ||
394 | struct sock; | 394 | struct sock; |
395 | #ifdef CONFIG_CGROUP_MEM_RES_CTLR_KMEM | 395 | #ifdef CONFIG_CGROUP_MEM_RES_CTLR_KMEM |
396 | void sock_update_memcg(struct sock *sk); | 396 | void sock_update_memcg(struct sock *sk); |