Commit 052d56d8 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sn: Simulator check in pci_bus_cvlink.c

From: Pat Gefre <pfg@sgi.com>

Simulator check in pci_bus_cvlink.c
parent e05f4f17
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <asm/sn/iograph.h> #include <asm/sn/iograph.h>
#include <asm/sn/pci/pci_bus_cvlink.h> #include <asm/sn/pci/pci_bus_cvlink.h>
#include <asm/sn/sn_cpuid.h> #include <asm/sn/sn_cpuid.h>
#include <asm/sn/simulator.h>
extern int bridge_rev_b_data_check_disable; extern int bridge_rev_b_data_check_disable;
...@@ -801,8 +802,8 @@ sn_pci_init (void) ...@@ -801,8 +802,8 @@ sn_pci_init (void)
int i = 0; int i = 0;
struct pci_controller *controller; struct pci_controller *controller;
if (!ia64_platform_is("sn2")) if (!ia64_platform_is("sn2") || IS_RUNNING_ON_SIMULATOR())
return 0; return 0;
/* /*
* set pci_raw_ops, etc. * set pci_raw_ops, etc.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment