2005-05-07 08:38:10

by Hyok S. Choi

[permalink] [raw]
Subject: [PATCH 3/4] nommu - trivial patch for fs/proc/task_nommu.c

trivial patch against 2.6.12-rc3-mm3, fs/proc/task_nommu.c :
need to declare the "proc_pid_smaps_op" struct to compile for nommu
architectures.

Signed-off-by : Hyok S. Choi <[email protected]>

Index: linux-2.6.12-rc3-mm3/fs/proc/task_nommu.c
================================================================
--- linux-2.6.12-rc3-mm3/fs/proc/task_nommu.c 2005-03-02
16:38:10.000000000 +0900
+++ linux-2.6.12-rc3-mm3-hsc0/fs/proc/task_nommu.c 2005-05-06
12:05:11.000000000 +0900
@@ -162,3 +162,9 @@
.stop = m_stop,
.show = show_map
};
+struct seq_operations proc_pid_smaps_op = {
+ .start = m_start,
+ .next = m_next,
+ .stop = m_stop,
+ .show = show_map
+};