diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
commit | 40ef8cbc6d360e564573eb19582249c35d8ba330 (patch) | |
tree | abba70b7da8bef93a87431691dc8df79eb4425d5 /include/asm-powerpc/prom.h | |
parent | bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b (diff) |
powerpc: Get 64-bit configs to compile with ARCH=powerpc
This is a bunch of mostly small fixes that are needed to get
ARCH=powerpc to compile for 64-bit. This adds setup_64.c from
arch/ppc64/kernel/setup.c and locks.c from arch/ppc64/lib/locks.c.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/prom.h')
-rw-r--r-- | include/asm-powerpc/prom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 194b56ee1693..efc40980cb48 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -196,6 +196,7 @@ extern int prom_n_intr_cells(struct device_node* np); | |||
196 | extern void prom_get_irq_senses(unsigned char *senses, int off, int max); | 196 | extern void prom_get_irq_senses(unsigned char *senses, int off, int max); |
197 | extern void prom_add_property(struct device_node* np, struct property* prop); | 197 | extern void prom_add_property(struct device_node* np, struct property* prop); |
198 | 198 | ||
199 | #ifdef CONFIG_PPC32 | ||
199 | /* | 200 | /* |
200 | * PCI <-> OF matching functions | 201 | * PCI <-> OF matching functions |
201 | * (XXX should these be here?) | 202 | * (XXX should these be here?) |
@@ -207,6 +208,8 @@ extern int pci_device_from_OF_node(struct device_node *node, | |||
207 | extern struct device_node* pci_busdev_to_OF_node(struct pci_bus *, int); | 208 | extern struct device_node* pci_busdev_to_OF_node(struct pci_bus *, int); |
208 | extern struct device_node* pci_device_to_OF_node(struct pci_dev *); | 209 | extern struct device_node* pci_device_to_OF_node(struct pci_dev *); |
209 | extern void pci_create_OF_bus_map(void); | 210 | extern void pci_create_OF_bus_map(void); |
211 | #endif | ||
212 | |||
210 | extern struct resource *request_OF_resource(struct device_node* node, | 213 | extern struct resource *request_OF_resource(struct device_node* node, |
211 | int index, const char* name_postfix); | 214 | int index, const char* name_postfix); |
212 | extern int release_OF_resource(struct device_node* node, int index); | 215 | extern int release_OF_resource(struct device_node* node, int index); |