diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-29 17:27:13 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 19:37:08 -0400 |
commit | 286bbe87c143ca7ecee5bb499cd78048c5a05d49 (patch) | |
tree | 0bdb16fafa3012160cbe27bd6fc5957f658f485b /include | |
parent | bf7e8511088963078484132636839b59e25cf14f (diff) |
[SPARC64]: Kill starfire_cookie from SBUS/PCI.
Totally unused.
We need to traverse the list of global IRQ translaters,
so storing it in the per-bus structures was useless.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/pbm.h | 2 | ||||
-rw-r--r-- | include/asm-sparc64/sbus.h | 1 | ||||
-rw-r--r-- | include/asm-sparc64/starfire.h | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h index cebe80b1da6c..83b3c26cd063 100644 --- a/include/asm-sparc64/pbm.h +++ b/include/asm-sparc64/pbm.h | |||
@@ -217,8 +217,6 @@ struct pci_controller_info { | |||
217 | struct pci_ops *pci_ops; | 217 | struct pci_ops *pci_ops; |
218 | unsigned int pci_first_busno; | 218 | unsigned int pci_first_busno; |
219 | unsigned int pci_last_busno; | 219 | unsigned int pci_last_busno; |
220 | |||
221 | void *starfire_cookie; | ||
222 | }; | 220 | }; |
223 | 221 | ||
224 | /* PCI devices which are not bridges have this placed in their pci_dev | 222 | /* PCI devices which are not bridges have this placed in their pci_dev |
diff --git a/include/asm-sparc64/sbus.h b/include/asm-sparc64/sbus.h index 56ee985e4605..7efd49d31bb8 100644 --- a/include/asm-sparc64/sbus.h +++ b/include/asm-sparc64/sbus.h | |||
@@ -80,7 +80,6 @@ struct sbus_bus { | |||
80 | int num_sbus_ranges; | 80 | int num_sbus_ranges; |
81 | 81 | ||
82 | int portid; | 82 | int portid; |
83 | void *starfire_cookie; | ||
84 | }; | 83 | }; |
85 | #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev) | 84 | #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev) |
86 | 85 | ||
diff --git a/include/asm-sparc64/starfire.h b/include/asm-sparc64/starfire.h index b606cb2b32a8..48b50b5e35b0 100644 --- a/include/asm-sparc64/starfire.h +++ b/include/asm-sparc64/starfire.h | |||
@@ -14,7 +14,7 @@ extern int this_is_starfire; | |||
14 | extern void check_if_starfire(void); | 14 | extern void check_if_starfire(void); |
15 | extern void starfire_cpu_setup(void); | 15 | extern void starfire_cpu_setup(void); |
16 | extern int starfire_hard_smp_processor_id(void); | 16 | extern int starfire_hard_smp_processor_id(void); |
17 | extern void *starfire_hookup(int); | 17 | extern void starfire_hookup(int); |
18 | extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid); | 18 | extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid); |
19 | 19 | ||
20 | #endif | 20 | #endif |