On Mon, 15 Oct 2007, Matt Mackall wrote: > Index: l/fs/proc/task_mmu.c > =================================================================== > --- l.orig/fs/proc/task_mmu.c 2007-10-14 13:38:43.000000000 -0500 > +++ l/fs/proc/task_mmu.c 2007-10-14 13:39:00.000000000 -0500 > @@ -324,19 +324,47 @@ static int show_smap(struct seq_file *m, > > static struct mm_walk clear_refs_walk = { .pmd_entry = clear_refs_pte_range > }; > > -void clear_refs_smap(struct mm_struct *mm) > +static ssize_t clear_refs_write(struct file *file, const char __user *buf, > + size_t count, loff_t *ppos) > { > + struct task_struct *task; > + char buffer[13], *end;
The #define for PROC_NUMBUF will need to be moved from fs/proc/base.c to include/linux/proc_fs.h and used here instead of hardcoding it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/