| To: | "H . J . Lu" <hjl@lucon.org> |
|---|---|
| Subject: | Re: PATCH: Fix offset of mmap |
| From: | James Simmons <jsimmons@transvirtual.com> |
| Date: | Fri, 14 Sep 2001 10:27:20 -0700 (PDT) |
| Cc: | linux-mips@oss.sgi.com |
| In-reply-to: | <20010914101549.A16156@lucon.org> |
| Sender: | owner-linux-mips@oss.sgi.com |
> > I believe this would break certain pieces of hardware. For example the > > mq200 framebuffer in the sigmarion is not paged aligned. You have to > > supply a offset to make it work. > > How do you mmap a memory whose offset is not page aligned? The code > here is > > return do_mmap2(addr, len, prot, flags, fd, offset >> PAGE_SHIFT); > ^^^^^^^^^^^^^^^^^^^^ > > It is up to the user code to make sure everything is ok. Sorry. Mix up in the meaning of offset. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: Fix offset of mmap, H . J . Lu |
|---|---|
| Next by Date: | PATCH: Update sysdeps/mips/fpu/libm-test-ulps, H . J . Lu |
| Previous by Thread: | Re: PATCH: Fix offset of mmap, H . J . Lu |
| Next by Thread: | PATCH: Update sysdeps/mips/fpu/libm-test-ulps, H . J . Lu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |