openrisc: remove undefined of_get_cpu_node declaration

This change “openrisc: remove undefined of_get_cpu_node declaration” (commit 007fb9a) in Linux kernel is authored by Sudeep KarkadaNagesha <sudeep.karkadanagesha [at] arm.com> on Thu Aug 15 10:19:51 2013 +0100.

Description of "openrisc: remove undefined of_get_cpu_node declaration"

The change “openrisc: remove undefined of_get_cpu_node declaration” introduces changes as follows.

openrisc: remove undefined of_get_cpu_node declaration

This patch removes the declaration of the function 'of_get_cpu_node'
which is not defined for openrisc. This is in preparation to move
it's definition from PPC to DT common code.

Again it could be there as it was originally copied from powerpc.

Acked-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>

Linux kernel releases containing commit 007fb9a

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "openrisc: remove undefined of_get_cpu_node declaration"

There are 3 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/openrisc/include/asm/prom.h | 3 ---
 1 file changed, 3 deletions(-)
 
diff --git a/arch/openrisc/include/asm/prom.h b/arch/openrisc/include/asm/prom.h
index bbb34e5343a2..eb59bfe23e85 100644
--- a/arch/openrisc/include/asm/prom.h
+++ b/arch/openrisc/include/asm/prom.h
@@ -44,9 +44,6 @@ void of_parse_dma_window(struct device_node *dn, const void *dma_window_prop,
 
 extern void kdump_move_device_tree(void);
 
-/* CPU OF node matching */
-struct device_node *of_get_cpu_node(int cpu, unsigned int *thread);
-
 /* Get the MAC address */
 extern const void *of_get_mac_address(struct device_node *np);
 

The commit for this change in Linux stable tree is 007fb9a (patch).

Last modified: 2020/02/10