aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 3c41149dea88..a5fa1fdafc4e 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -708,6 +708,7 @@ static const struct file_operations proc_oom_adjust_operations = {
708 .write = oom_adjust_write, 708 .write = oom_adjust_write,
709}; 709};
710 710
711#ifdef CONFIG_MMU
711static ssize_t clear_refs_write(struct file *file, const char __user *buf, 712static ssize_t clear_refs_write(struct file *file, const char __user *buf,
712 size_t count, loff_t *ppos) 713 size_t count, loff_t *ppos)
713{ 714{
@@ -741,6 +742,7 @@ static ssize_t clear_refs_write(struct file *file, const char __user *buf,
741static struct file_operations proc_clear_refs_operations = { 742static struct file_operations proc_clear_refs_operations = {
742 .write = clear_refs_write, 743 .write = clear_refs_write,
743}; 744};
745#endif
744 746
745#ifdef CONFIG_AUDITSYSCALL 747#ifdef CONFIG_AUDITSYSCALL
746#define TMPBUFLEN 21 748#define TMPBUFLEN 21