Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bf440b712d289b157c72f19b389b8d918a8c8c5c
Commit:     bf440b712d289b157c72f19b389b8d918a8c8c5c
Parent:     5531e41bf41b5bc34e3cb57af89b58a24fc0dd8d
Author:     Kumar Gala <[EMAIL PROTECTED]>
AuthorDate: Wed Jun 27 00:19:08 2007 -0500
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Fri Jun 29 01:58:34 2007 -0500

    [POWERPC] Remove local_number from pci_controller
    
    We never actually read local_number so lets just remove it.
    
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/iseries/pci.c |    2 +-
 include/asm-powerpc/pci-bridge.h     |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/iseries/pci.c 
b/arch/powerpc/platforms/iseries/pci.c
index 23d8762..da87162 100644
--- a/arch/powerpc/platforms/iseries/pci.c
+++ b/arch/powerpc/platforms/iseries/pci.c
@@ -768,7 +768,7 @@ void __init iSeries_pcibios_init(void)
                if (phb == NULL)
                        continue;
 
-               phb->pci_mem_offset = phb->local_number = bus;
+               phb->pci_mem_offset = bus;
                phb->first_busno = bus;
                phb->last_busno = bus;
                phb->ops = &iSeries_pci_ops;
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index b032593..229ead9 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -146,7 +146,6 @@ struct pci_controller {
        struct resource io_resource;
        struct resource mem_resources[3];
        int global_number;
-       int local_number;
        unsigned long buid;
        unsigned long dma_window_base_cur;
        unsigned long dma_window_size;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to