ALSA: opl4 - Fix a wrong argument in proc write callback
[safe/jmp/linux-2.6] / arch / x86 / include / asm / k8.h
1 #ifndef _ASM_X86_K8_H
2 #define _ASM_X86_K8_H
3
4 #include <linux/pci.h>
5
6 extern struct pci_device_id k8_nb_ids[];
7 struct bootnode;
8
9 extern int early_is_k8_nb(u32 value);
10 extern struct pci_dev **k8_northbridges;
11 extern int num_k8_northbridges;
12 extern int cache_k8_northbridges(void);
13 extern void k8_flush_garts(void);
14 extern int k8_get_nodes(struct bootnode *nodes);
15 extern int k8_numa_init(unsigned long start_pfn, unsigned long end_pfn);
16 extern int k8_scan_nodes(void);
17
18 #ifdef CONFIG_K8_NB
19 static inline struct pci_dev *node_to_k8_nb_misc(int node)
20 {
21         return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
22 }
23 #else
24 static inline struct pci_dev *node_to_k8_nb_misc(int node)
25 {
26         return NULL;
27 }
28 #endif
29
30
31 #endif /* _ASM_X86_K8_H */