From: Denis Kirjanov <kda@linux-powerpc.org>
To: trinity@vger.kernel.org
Cc: davej@redhat.com, kda@linuxpowerpc.org,
Denis Kirjanov <kda@linux-powerpc.org>
Subject: [PATCH] Fix BITS_PER_LONG for ppc32
Date: Wed, 27 Mar 2013 10:06:20 +0400 [thread overview]
Message-ID: <1364364380-3075-1-git-send-email-kda@linux-powerpc.org> (raw)
Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org>
---
include/arch-ppc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/arch-ppc.h b/include/arch-ppc.h
index 8c1a71a..792a54a 100644
--- a/include/arch-ppc.h
+++ b/include/arch-ppc.h
@@ -17,7 +17,7 @@
#define TASK_SIZE (PAGE_OFFSET)
#define PAGE_SHIFT 12
-#define BITS_PER_LONG 64
+#define BITS_PER_LONG 32
#define PTE_RPN_SHIFT (PAGE_SHIFT)
#define PTE_FILE_MAX_BITS (BITS_PER_LONG - PTE_RPN_SHIFT)
--
1.8.0.2
next reply other threads:[~2013-03-27 6:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 6:06 Denis Kirjanov [this message]
2013-03-27 13:46 ` [PATCH] Fix BITS_PER_LONG for ppc32 Dave Jones
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=1364364380-3075-1-git-send-email-kda@linux-powerpc.org \
--to=kda@linux-powerpc.org \
--cc=davej@redhat.com \
--cc=kda@linuxpowerpc.org \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).