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.024 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site