Skip to contentSkip to conversation

sn/kernel/bte_error.c build error

PATCH dann frazier 3 participants 3 messages Jan 6, 2005 – Jan 8, 2005

lore
Share & tools
lore
#0 lore raw

A UP build of 2.6.10 fails in bte_error.c because HZ is undefined. I added an include for <asm/param.h> to get further in the build - not sure if this is the correct solution.

arch/ia64/sn/kernel/bte_error.c renamed from arch/ia64/sn/kernel/bte_error.c.orig +1 -0
@@ -15,6 +15,7 @@
 #include "xtalk/xwidgetdev.h"
 #include "xtalk/hubdev.h"
 #include <asm/sn/bte.h>
+#include <asm/param.h>
 
 /*
  * Bte error handling is done in two parts.  The first captures
#1 lore raw
Quoted 4 lines · dann frazier

A UP build of 2.6.10 fails in bte_error.c because HZ is undefined. I added an include for <asm/param.h> to get further in the build - not sure if this is the correct solution.

Quoted 8 lines

--- kernel-source-2.6.10/arch/ia64/sn/kernel/bte_error.c.orig 2005-01-06 13:20:10.954478087 -0700 +++ kernel-source-2.6.10/arch/ia64/sn/kernel/bte_error.c 2005-01-06 12:54:41.483793698 -0700 @@ -15,6 +15,7 @@
#include "xtalk/xwidgetdev.h"
#include "xtalk/hubdev.h"
#include <asm/sn/bte.h>
+#include <asm/param.h>

Ack. Looks ok to me.

Thanks,
Jesse

#2 lore raw
In reply to dann frazier

A UP build of 2.6.10 fails in bte_error.c because HZ is undefined. Approved by Jesse in Message-Id: <[email protected]>

arch/ia64/sn/kernel/bte_error.c renamed from arch/ia64/sn/kernel/bte_error.c.orig +1 -0
@@ -15,6 +15,7 @@
 #include "xtalk/xwidgetdev.h"
 #include "xtalk/hubdev.h"
 #include <asm/sn/bte.h>
+#include <asm/param.h>
 
 /*
  * Bte error handling is done in two parts.  The first captures