[PATCH] [POWERPC] Add missing EXPORTS for mpc52xx support

Subsystems: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded mpc5xxx, the rest

DORMANTno replies

2 messages, 1 author, 2006-12-05 · open the first message on its own page

[PATCH] [POWERPC] Add missing EXPORTS for mpc52xx support

From: Grant Likely <hidden>
Date: 2006-12-05 00:29:29

Signed-off-by: Grant Likely <redacted>
---
 arch/powerpc/kernel/of_device.c              |    1 +
 arch/powerpc/platforms/52xx/mpc52xx_common.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/of_device.c b/arch/powerpc/kernel/of_device.c
index 5c65398..8a06724 100644
--- a/arch/powerpc/kernel/of_device.c
+++ b/arch/powerpc/kernel/of_device.c
@@ -122,6 +122,7 @@ void of_device_unregister(struct of_devi
 }
 
 
+EXPORT_SYMBOL(of_match_node);
 EXPORT_SYMBOL(of_match_device);
 EXPORT_SYMBOL(of_device_register);
 EXPORT_SYMBOL(of_device_unregister);
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c
index 05b2144..8331ff4 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_common.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c
@@ -43,6 +43,7 @@ mpc52xx_find_and_map(const char *compati
 
 	return ioremap((u32)regaddr64, (u32)size64);
 }
+EXPORT_SYMBOL(mpc52xx_find_and_map);
 
 
 /**
@@ -72,6 +73,7 @@ mpc52xx_find_ipb_freq(struct device_node
 
 	return p_ipb_freq ? *p_ipb_freq : 0;
 }
+EXPORT_SYMBOL(mpc52xx_find_ipb_freq);
 
 
 void __init
-- 
1.4.3.rc2.g0503

[PATCH] [POWERPC] Remove obsolete PPC_52xx and update PPC_6xx comment

From: Grant Likely <hidden>
Date: 2006-12-05 00:29:29

Signed-off-by: Grant Likely <redacted>
---
 arch/powerpc/Kconfig |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 90efb0a..a75bccf 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -112,7 +112,7 @@ choice
 	default 6xx
 
 config CLASSIC32
-	bool "6xx/7xx/74xx"
+	bool "52xx/6xx/7xx/74xx"
 	select PPC_FPU
 	select 6xx
 	help
@@ -121,16 +121,18 @@ config CLASSIC32
 	  versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
 	  embedded versions (403 and 405) and the high end 64 bit Power
 	  processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
+
+	  This option is the catch-all for 6xx types, including some of the
+	  embedded versions.  Unless there is see an option for the specific
+	  chip family you are using, you want this option.
+	  
+	  You do not want this if you are building a kernel for a 64 bit
+	  IBM RS/6000 or an Apple G5, choose 6xx.
+	  
+	  If unsure, select this option
 	  
-	  Unless you are building a kernel for one of the embedded processor
-	  systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
 	  Note that the kernel runs in 32-bit mode even on 64-bit chips.
 
-config PPC_52xx
-	bool "Freescale 52xx"
-	select 6xx
-	select PPC_FPU
-	
 config PPC_82xx
 	bool "Freescale 82xx"
 	select 6xx
-- 
1.4.3.rc2.g0503
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help