diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 | 
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 | 
| commit | 5e66dd6d66ffe758b39b6dcadf2330753ee1159b (patch) | |
| tree | a72cdcff4448e4af9425cc213ddf56ab23e697fe /arch/powerpc/kernel/rtas_pci.c | |
| parent | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (diff) | |
| parent | ca78f6baca863afe2e6a244a0fe94b3a70211d46 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'arch/powerpc/kernel/rtas_pci.c')
| -rw-r--r-- | arch/powerpc/kernel/rtas_pci.c | 17 | 
1 files changed, 0 insertions, 17 deletions
| diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c index 6eb7e49b394a..cda022657324 100644 --- a/arch/powerpc/kernel/rtas_pci.c +++ b/arch/powerpc/kernel/rtas_pci.c @@ -297,19 +297,9 @@ unsigned long __init find_and_init_phbs(void)  	struct device_node *node;  	struct pci_controller *phb;  	unsigned int index; -	unsigned int root_size_cells = 0; -	unsigned int *opprop = NULL;  	struct device_node *root = of_find_node_by_path("/"); -	if (ppc64_interrupt_controller == IC_OPEN_PIC) { -		opprop = (unsigned int *)get_property(root, -				"platform-open-pic", NULL); -	} - -	root_size_cells = prom_n_size_cells(root); -  	index = 0; -  	for (node = of_get_next_child(root, NULL);  	     node != NULL;  	     node = of_get_next_child(root, node)) { @@ -324,13 +314,6 @@ unsigned long __init find_and_init_phbs(void)  		setup_phb(node, phb);  		pci_process_bridge_OF_ranges(phb, node, 0);  		pci_setup_phb_io(phb, index == 0); -#ifdef CONFIG_PPC_PSERIES -		/* XXX This code need serious fixing ... --BenH */ -		if (ppc64_interrupt_controller == IC_OPEN_PIC && pSeries_mpic) { -			int addr = root_size_cells * (index + 2) - 1; -			mpic_assign_isu(pSeries_mpic, index, opprop[addr]); -		} -#endif  		index++;  	} | 
