aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sun4v.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-13 01:29:36 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:35 -0500
commit0b522497a176f222ae4cf7e6733a5357352224b2 (patch)
treea65db8c8c97e8f8e760f802dc3a59c38765a7517 /arch/sparc64/kernel/pci_sun4v.c
parentc26092675020ff495a16dd635bf1733215325540 (diff)
[SPARC64]: Missing 'return' statement in sun4v_pci_init().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index 59e660d849a..7055616e083 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -916,8 +916,10 @@ void sun4v_pci_init(int node, char *model_name)
916 &p->pbm_A : 916 &p->pbm_A :
917 &p->pbm_B); 917 &p->pbm_B);
918 918
919 if (pbm->devhandle == (devhandle ^ 0x40)) 919 if (pbm->devhandle == (devhandle ^ 0x40)) {
920 pci_sun4v_pbm_init(p, node, devhandle); 920 pci_sun4v_pbm_init(p, node, devhandle);
921 return;
922 }
921 } 923 }
922 924
923 p = kmalloc(sizeof(struct pci_controller_info), GFP_ATOMIC); 925 p = kmalloc(sizeof(struct pci_controller_info), GFP_ATOMIC);
@@ -961,7 +963,4 @@ void sun4v_pci_init(int node, char *model_name)
961 pci_memspace_mask = 0x7fffffffUL; 963 pci_memspace_mask = 0x7fffffffUL;
962 964
963 pci_sun4v_pbm_init(p, node, devhandle); 965 pci_sun4v_pbm_init(p, node, devhandle);
964
965 prom_printf("sun4v_pci_init: Implement me.\n");
966 prom_halt();
967} 966}