procfs: add conditional compilation check
authorEric Engestrom <eric.engestrom@imgtec.com>
Thu, 17 Mar 2016 21:20:57 +0000 (14:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commitb5946beaa9ee6a3c0bb35db49adecf795fb159d2
treeb0b226d81b996d190f061e4362ebc9f63f598373
parent5de23d435e88996b1efe0e2cebe242074ce67c9e
procfs: add conditional compilation check

`proc_timers_operations` is only used when CONFIG_CHECKPOINT_RESTORE is
enabled.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c