Re: [PATCH 3/8] module, jump_label: Fix module locking

From: Peter Zijlstra
Date: Fri Mar 20 2015 - 05:12:12 EST


On Fri, Mar 20, 2015 at 02:56:25PM +1030, Rusty Russell wrote:
> > +static inline bool address_in_module(unsigned long addr, struct module *mod)

> Using __module_address() for this was just plain weird in the first
> place. How about:
>
> if (within_module(iter->key, mod))
>

Oh hey, look at that ;-) /me fixes.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/