Commit 4235198e authored by Pat Gefre's avatar Pat Gefre Committed by David Mosberger

[PATCH] ia64: on SN2, skip init_platform_hubinfo() if on the simulator

parent 00be8a06
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <asm/sn/sn_private.h> #include <asm/sn/sn_private.h>
#include <asm/sn/klconfig.h> #include <asm/sn/klconfig.h>
#include <asm/sn/sn_cpuid.h> #include <asm/sn/sn_cpuid.h>
#include <asm/sn/simulator.h>
int maxcpus; int maxcpus;
...@@ -69,12 +70,15 @@ void init_platform_nodepda(nodepda_t *npda, cnodeid_t node) ...@@ -69,12 +70,15 @@ void init_platform_nodepda(nodepda_t *npda, cnodeid_t node)
} }
void void
init_platform_hubinfo(nodepda_t **nodepdaindr) { init_platform_hubinfo(nodepda_t **nodepdaindr)
{
cnodeid_t cnode; cnodeid_t cnode;
hubinfo_t hubinfo; hubinfo_t hubinfo;
nodepda_t *npda; nodepda_t *npda;
extern int numionodes; extern int numionodes;
if (IS_RUNNING_ON_SIMULATOR())
return;
for (cnode = 0; cnode < numionodes; cnode++) { for (cnode = 0; cnode < numionodes; cnode++) {
npda = nodepdaindr[cnode]; npda = nodepdaindr[cnode];
hubinfo = (hubinfo_t)npda->pdinfo; hubinfo = (hubinfo_t)npda->pdinfo;
......
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