lkml.org 
[lkml]   [1999]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap from 0xFFFF0000 -> 0xFFFFFFFF does not work, why?!
David Howells wrote:
> Try applying the attached patch.
> - if (!size || size > phys_addr + size)
> + if (!size || (size != ~phys_addr+1 && size > phys_addr + size))

I prefer:
- if (!size || size > phys_addr + size)
+ if (!size || size > phys_addr + size - 1)
-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.072 / U:0.124 seconds]
©2003-2011 Jasper Spaans. Advertise on this site