Fix MIPS variable PAGE_SIZE bug (16191)
authorMatthew Fortune <matthew.fortune@imgtec.com>
Mon, 5 Jan 2015 13:34:41 +0000 (13:34 +0000)
committerMatthew Fortune <matthew.fortune@imgtec.com>
Mon, 5 Jan 2015 13:45:16 +0000 (13:45 +0000)
commitb1efe3bbcfd94941556ffd5b60539207023c8224
tree2bdd13d785fdb92b6ad5b88991eb9af5f8b564f3
parentb93c2205ec57af3c0491cdb608b53a9b4d7ff57e
Fix MIPS variable PAGE_SIZE bug (16191)

MIPS supports a variable page size but glibc defines a constant.
This causes at least two glibc tests to fail when the page size
does not match the hard-coded size:

inet/test-ifaddrs
inet/test_ifindex

[BZ #16191]
* NEWS: Mention bug fix.
* sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
(PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
(HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
(HOST_STACK_END_ADDR): Likewise.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/mips/sys/user.h