missing header file in asm-i386/xor.h

missing header file in asm-i386/xor.h

Post by Luben Tuiko » Thu, 13 Mar 2003 03:10:12



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

   * 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"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. highmem pci dma mapping does not work, missing cast in asm-i386/pci.h

Hello all,

There's a missing cast in pci_map_page that causes 64 bit capable
drivers to access the wrong memory for highmem pages.  Please
include the patch below to fix it.

                -ben
--
"You will be reincarnated as a toad; and you will be much happier."

:r ~/patches/v2.4/v2.4.19-pre10-pci_highmem.diff
diff -urN v2.4.19-pre10/include/asm-i386/pci.h pci-v2.4.19-pre10/include/asm-i386/pci.h
--- v2.4.19-pre10/include/asm-i386/pci.h        Thu Jun  6 20:10:08 2002

        if (direction == PCI_DMA_NONE)
                out_of_line_bug();

-       return (page - mem_map) * PAGE_SIZE + offset;
+       return (dma_addr_t)(page - mem_map) * PAGE_SIZE + offset;
 }

 static inline void pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Vortex option?....3c590 support

3. include/asm-i386/checksum.h

4. upgrade dies - missing X file?

5. : { 2.5 } Correcting comment in include/asm-i386/tlbflush.h

6. Default Mail Server

7. const from include/asm-i386/byteorder.h

8. 10 TK50 Bander für die Mühe

9. 2.4.19-pre8 include/asm-i386/bitops.h ffs() bug

10. Linus BK: change to asm-i386/thread_info.h causes build failure: no TIF_USEDFPU

11. asm-i386/numaq.h fixes

12. 2.4.x:include/asm-i386/checksum.h GCC 3.X warning fixes

13. include/asm-i386/posix_types.h