vm_map.h

John Baldwin jhb at freebsd.org
Thu Mar 13 19:38:03 UTC 2014


On Wednesday, March 12, 2014 5:13:28 pm Bruno Lauzé wrote:
> The two defines in vm/vm_map.h 
> 
> #define min_offset   header.start    /* (c) */
> #define max_offset   header.end      /* (c) */
> 
> 
> are really getting in the way because those words are most likely to be used 
downstream.
> 
> I would suggest renaming those defines to:
> 
> #define vm_min_offset   header.start    /* (c) */
> #define vm_max_offset   header.end      /* (c) */
> 
> Am I missing something?

A simpler fix is probably to put the #define's under #ifdef _KERNEL.

-- 
John Baldwin


More information about the freebsd-current mailing list