$NetBSD: patch-ab,v 1.1 2006/03/19 15:05:39 joerg Exp $

--- ode/src/timer.cpp.orig	2006-03-19 14:41:45.000000000 +0000
+++ ode/src/timer.cpp
@@ -118,8 +118,10 @@ static inline void serialize()
 {
   asm volatile (
 	"mov $0,%%eax\n"
+	"pushl %%ebx\n"
 	"cpuid\n"
-	: : : "%eax","%ebx","%ecx","%edx","cc","memory");
+	"popl %%ebx\n"
+	: : : "%eax","%ecx","%edx","cc","memory");
 }
 
 
