Messages in this thread Patch in this message | | | Date | Thu, 12 Feb 2004 10:44:47 -0600 (CST) | From | Pat Gefre <> | Subject | [PATCH 2.6] small Altix mod [2/2] |
| |
Another little ditty for Altix .... Can you take this Andrew ?
-- Pat
Patrick Gefre Silicon Graphics, Inc. (E-Mail) pfg@sgi.com 2750 Blue Water Rd (Voice) (651) 683-3127 Eagan, MN 55121-1400 (FAX) (651) 683-3054
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1555 -> 1.1556 # arch/ia64/sn/io/sn2/ml_SN_init.c 1.9 -> 1.10 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/02/03 pfg@attica.americas.sgi.com 1.1556 # arch/ia64/sn/io/sn2/ml_SN_init.c # skip init_platform_hubinfo() if on the simulator # -------------------------------------------- # diff -Nru a/arch/ia64/sn/io/sn2/ml_SN_init.c b/arch/ia64/sn/io/sn2/ml_SN_init.c --- a/arch/ia64/sn/io/sn2/ml_SN_init.c Tue Feb 3 00:42:24 2004 +++ b/arch/ia64/sn/io/sn2/ml_SN_init.c Tue Feb 3 00:42:24 2004 @@ -17,6 +17,7 @@ #include <asm/sn/sn_private.h> #include <asm/sn/klconfig.h> #include <asm/sn/sn_cpuid.h> +#include <asm/sn/simulator.h> int maxcpus; @@ -69,12 +70,15 @@ } void -init_platform_hubinfo(nodepda_t **nodepdaindr) { +init_platform_hubinfo(nodepda_t **nodepdaindr) +{ cnodeid_t cnode; hubinfo_t hubinfo; nodepda_t *npda; extern int numionodes; + if (IS_RUNNING_ON_SIMULATOR()) + return; for (cnode = 0; cnode < numionodes; cnode++) { npda = nodepdaindr[cnode]; hubinfo = (hubinfo_t)npda->pdinfo; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |