linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add CONFIG_POWERPC
@ 2006-08-16  4:16 Michael Ellerman
  2006-08-16  4:26 ` Paul Mackerras
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2006-08-16  4:16 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

We don't seem to have a top-level config symbol like other archs do. We have
PPC64 and PPC, but I think it'd be cleaner to have just one for cases where
we really mean PPC64 and/or PPC.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---

 arch/powerpc/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)

Index: git/arch/powerpc/Kconfig
===================================================================
--- git.orig/arch/powerpc/Kconfig
+++ git/arch/powerpc/Kconfig
@@ -11,6 +11,10 @@ config PPC64
 	  This option selects whether a 32-bit or a 64-bit kernel
 	  will be built.
 
+config POWERPC
+	bool
+	default y
+
 config PPC32
 	bool
 	default y if !PPC64

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add CONFIG_POWERPC
  2006-08-16  4:16 [PATCH] Add CONFIG_POWERPC Michael Ellerman
@ 2006-08-16  4:26 ` Paul Mackerras
  2006-08-16  5:18   ` Michael Ellerman
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 2006-08-16  4:26 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev

Michael Ellerman writes:

> We don't seem to have a top-level config symbol like other archs do. We have
> PPC64 and PPC, but I think it'd be cleaner to have just one for cases where
> we really mean PPC64 and/or PPC.

CONFIG_PPC already means either 32-bit or 64-bit PowerPC (always has
done, even before the merge).

Paul.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add CONFIG_POWERPC
  2006-08-16  4:26 ` Paul Mackerras
@ 2006-08-16  5:18   ` Michael Ellerman
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2006-08-16  5:18 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On Wed, 2006-08-16 at 14:26 +1000, Paul Mackerras wrote:
> Michael Ellerman writes:
> 
> > We don't seem to have a top-level config symbol like other archs do. We have
> > PPC64 and PPC, but I think it'd be cleaner to have just one for cases where
> > we really mean PPC64 and/or PPC.
> 
> CONFIG_PPC already means either 32-bit or 64-bit PowerPC (always has
> done, even before the merge).

Hmm, but won't that also match arch/ppc ?

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-16  5:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-16  4:16 [PATCH] Add CONFIG_POWERPC Michael Ellerman
2006-08-16  4:26 ` Paul Mackerras
2006-08-16  5:18   ` Michael Ellerman

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).