On Tue, 09 Feb 2010 11:32:17 -0800 Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > +static inline resource_size_t cap_resource(u64 val) > +{ > + if (val > MAX_RESOURCE) > + return MAX_RESOURCE; > + else > + return val; > +} return min(val, MAX_RESOURCE); -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html