[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    [MIPS] Reduce user-visible noise in asm-mips/page.h
From:       linux-mips () linux-mips ! org
Date:       2006-08-29 15:56:01
Message-ID: S20037820AbWH2P4G/20060829155606Z+11 () ftp ! linux-mips ! org
[Download RAW message or body]

Author: David Woodhouse <dwmw2@infradead.org> Fri Jul 14 01:25:48 2006 +0100
Comitter: Ralf Baechle <ralf@linux-mips.org> Tue Aug 29 13:24:18 2006 +0100
Commit: 96982382d9b47b4af7ec7e877188efad00f25045
Gitweb: http://www.linux-mips.org/g/linux/96982382
Branch: master

Since PAGE_SIZE is variable according to configuration options, don't
expose it to userspace. Userspace should be using sysconf(_SC_PAGE_SIZE)
instead. Move some other noise inside __KERNEL__ too while we're at it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

---

 include/asm-mips/page.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic