+ x86-compile-fix-for-asm-i386-alternativesh.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     x86: compile fix for asm-i386/alternatives.h

has been added to the -mm tree.  Its filename is

     x86-compile-fix-for-asm-i386-alternativesh.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: x86: compile fix for asm-i386/alternatives.h
From: Kirill Smelkov <kirr@xxxxxxxxxx>


compile fix:  <asm-i386/alternative.h>  needs  <asm/types.h> for 'u8' --
just look at struct alt_instr.

My module includes <asm/bitops.h> as the first header, and as of 2.6.17 this
leads to compilation errors.

Signed-off-by: Kirill Smelkov <kirr@xxxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-i386/alternative.h |    2 ++
 1 file changed, 2 insertions(+)

diff -puN include/asm-i386/alternative.h~x86-compile-fix-for-asm-i386-alternativesh include/asm-i386/alternative.h
--- a/include/asm-i386/alternative.h~x86-compile-fix-for-asm-i386-alternativesh
+++ a/include/asm-i386/alternative.h
@@ -5,6 +5,8 @@
 
 #include <linux/types.h>
 
+#include <asm/types.h>
+
 struct alt_instr {
 	u8 *instr; 		/* original instruction */
 	u8 *replacement;
_

Patches currently in -mm which might be from kirr@xxxxxxxxxx are

x86-compile-fix-for-asm-i386-alternativesh.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux