[PATCH] Add CONFIG_POWERPC

STALE7307d

3 messages, 2 authors, 2006-08-16 · open the first message on its own page

[PATCH] Add CONFIG_POWERPC

From: Michael Ellerman <hidden>
Date: 2006-08-16 04:16:16

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 <redacted>
---

 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

Re: [PATCH] Add CONFIG_POWERPC

From: Paul Mackerras <hidden>
Date: 2006-08-16 04:26:13

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.

Re: [PATCH] Add CONFIG_POWERPC

From: Michael Ellerman <hidden>
Date: 2006-08-16 05:18:12

On Wed, 2006-08-16 at 14:26 +1000, Paul Mackerras wrote:
Michael Ellerman writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help