This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix mmap2 syscall for ColdFire


Andreas Schwab wrote:
Maxim Kuvyrkov <maxim@codesourcery.com> writes:

M68K linux port expects the argument of mmap2 syscall to be counted in
the memory pages.

The offset is supposed to be always counted in units of 4k.

Unfortunately, that is not the case for ColdFire. And there is the MMAP2_PAGE_SHIFT macro for this reason.


Regards,

--
Maxim K.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]