Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/uvm
> > +#if defined(DEBUG)
> > +static void
> > +uvm_mapent_check(const struct vm_map_entry *entry)
> > +{
> :
> > +bad:
> > + panic("%s: bad entry %p", __func__, entry);
> > +}
> > +#endif /* defined(DEBUG) */
>
> For DEBUG purpose, isn't it better to make uvm_mapent_check()
> (or similar macro) take __FILE__ and __LINE__ args like __assert()?
maybe. i did so. thanks.
YAMAMOTO Takashi
Home |
Main Index |
Thread Index |
Old Index