Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191489
b: refs/heads/master
c: d88d95e
h: refs/heads/master
i:
  191487: 07350f1
v: v3
  • Loading branch information
Borislav Petkov authored and H. Peter Anvin committed May 3, 2010
1 parent 5309ca1 commit 022eddb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59d3b388741cf1a5eb7ad27fd4e9ed72643164ae
refs/heads/master: d88d95eb1c2a72b6126a550debe0883ff723a948
5 changes: 5 additions & 0 deletions trunk/arch/x86/include/asm/k8.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ extern int k8_numa_init(unsigned long start_pfn, unsigned long end_pfn);
extern int k8_scan_nodes(void);

#ifdef CONFIG_K8_NB
extern int num_k8_northbridges;

static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
}

#else
#define num_k8_northbridges 0

static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return NULL;
Expand Down

0 comments on commit 022eddb

Please sign in to comment.