Messages in this thread | | | Date | Thu, 7 Nov 2002 03:38:42 -0800 | From | William Lee Irwin III <> | Subject | Re: get_user_pages rewrite (completed, updated for 2.4.46) |
| |
On Thu, Nov 07, 2002 at 11:08:40AM +0100, Ingo Oeser wrote: +#ifdef OBSOLETE_PAGE_WALKER + if (vmas) { + gup_u.pv.vmas = vmas; + gup_u.pv.max_vmas = len; + walker = gup_add_pv; + printk("Obsolete argument \"vmas\" used!" + " Please send this report to linux-mm@vger.kernel.org" + " or fix the caller. Stack trace follows...\n"); + WARN_ON(vmas); + } +#else + /* FIXME: Or should we simply ignore it? -ioe */ + BUG_ON(vmas); +#endif
What on earth? Why not just remove the obsolete code?
Bill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |