Re: vm_map.h

From: John Baldwin <jhb_at_freebsd.org>
Date: Thu, 13 Mar 2014 14:00:59 -0400
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
Received on Thu Mar 13 2014 - 18:38:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC