* [PATCH] Make struct alt_instr acceptable to userland
@ 2003-04-28 22:47 Bryan O'Sullivan
2003-04-28 22:51 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Bryan O'Sullivan @ 2003-04-28 22:47 UTC (permalink / raw)
To: Andrew Morton, ak; +Cc: linux-kernel
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 */
};
/*
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-28 23:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20030428225019$00fe@gated-at.bofh.it>
2003-04-28 23:59 ` [PATCH] Make struct alt_instr acceptable to userland Andi Kleen
2003-04-28 22:47 Bryan O'Sullivan
2003-04-28 22:51 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox