Messages in this thread Patch in this message | | | Subject | [PATCH] Make struct alt_instr acceptable to userland | From | Bryan O'Sullivan <> | Date | 28 Apr 2003 15:47:22 -0700 |
| |
Andi's new struct alt_instr is visible to klibc. The attached patch changes the types it uses, so that klibc becomes happy.
<b
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1142 -> 1.1143 # include/asm-i386/system.h 1.27 -> 1.28 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/04/28 bos@serpentine.com 1.1143 # struct alt_instr is visible to userland, so change the types it uses # -------------------------------------------- # diff -Nru a/include/asm-i386/system.h b/include/asm-i386/system.h --- a/include/asm-i386/system.h Mon Apr 28 15:43:42 2003 +++ b/include/asm-i386/system.h Mon Apr 28 15:43:42 2003 @@ -278,11 +278,11 @@ #endif struct alt_instr { - u8 *instr; /* original instruction */ - u8 cpuid; /* cpuid bit set for replacement */ - u8 instrlen; /* length of original instruction */ - u8 replacementlen; /* length of new instruction, <= instrlen */ - u8 replacement[0]; /* new instruction */ + __u8 *instr; /* original instruction */ + __u8 cpuid; /* cpuid bit set for replacement */ + __u8 instrlen; /* length of original instruction */ + __u8 replacementlen; /* length of new instruction, <= instrlen */ + __u8 replacement[0]; /* new instruction */ }; /*
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |