2003-03-12 00:55:45

by Luben Tuikov

[permalink] [raw]
Subject: [PATCH] missing header file in asm-i386/xor.h

Missing include macro for header file asm/i387.h in asm-i386/xor.h
for kernel_fpu_begin() and kernel_fpu_end().

I get compilation warnings/linkage problems.

--
Luben


--- linux-2.5.64bk6/include/asm-i386/xor.h.orig 2003-03-11 19:15:36.000000000 -0500
+++ linux-2.5.64bk6/include/asm-i386/xor.h 2003-03-11 17:04:35.000000000 -0500
@@ -18,6 +18,8 @@
* Copyright (C) 1998 Ingo Molnar.
*/

+#include <asm/i387.h>
+
#define LD(x,y) " movq 8*("#x")(%1), %%mm"#y" ;\n"
#define ST(x,y) " movq %%mm"#y", 8*("#x")(%1) ;\n"
#define XO1(x,y) " pxor 8*("#x")(%2), %%mm"#y" ;\n"