From: Geoff Levand <geoffrey.levand@am•sony.com>
To: Paul Mackerras <paulus@samba•org>
Cc: linuxppc-dev@ozlabs•org
Subject: [patch] powerpc: move PAGE_SIZE outside #ifdef __KERNEL__
Date: Thu, 20 Apr 2006 10:24:10 -0700 [thread overview]
Message-ID: <4447C3BA.6050709@am.sony.com> (raw)
The procps package needs PAGE_SIZE, defined in asm-powerpc/page.h,
but it is defined inside "#ifdef __KERNEL__".
This moves the PAGE_SIZE definition outside of "#ifdef __KERNEL__".
From: Hiroaki Fuse
Signed-off-by: Geoff Levand <geoffrey.levand@am•sony.com>
---
Index: powerpc.git/include/asm-powerpc/page.h
===================================================================
--- powerpc.git.orig/include/asm-powerpc/page.h 2006-03-19 21:53:29.000000000 -0800
+++ powerpc.git/include/asm-powerpc/page.h 2006-04-19 12:30:04.000000000 -0700
@@ -10,7 +10,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#ifdef __KERNEL__
#include <linux/config.h>
#include <asm/asm-compat.h>
@@ -37,6 +36,7 @@
*/
#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
+#ifdef __KERNEL__
/*
* KERNELBASE is the virtual address of the start of the kernel, it's often
* the same as PAGE_OFFSET, but _might not be_.
next reply other threads:[~2006-04-20 17:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 17:24 Geoff Levand [this message]
2006-04-20 17:31 ` [patch] powerpc: move PAGE_SIZE outside #ifdef __KERNEL__ David Howells
2006-04-20 17:37 ` Arnd Bergmann
2006-04-20 18:00 ` Geoff Levand
2006-04-20 20:59 ` Benjamin Herrenschmidt
2006-04-20 23:07 ` Paul Mackerras
2006-04-21 15:23 ` Geoff Levand
2006-04-21 17:03 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4447C3BA.6050709@am.sony.com \
--to=geoffrey.levand@am$(echo .)sony.com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox