[RFC][PATCH 1/3] Process events biarch bug: Name process eventdata union type and annotate for compatibility.

From: Matt Helsley
Date: Tue Jun 27 2006 - 07:51:26 EST


This patch adds an explicit type to the process events union structure so the
type may be reused.

Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx>
---
include/linux/cn_proc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.17-mm3-biarch/include/linux/cn_proc.h
===================================================================
--- linux-2.6.17-mm3-biarch.orig/include/linux/cn_proc.h
+++ linux-2.6.17-mm3-biarch/include/linux/cn_proc.h
@@ -56,11 +56,11 @@ struct proc_event {
/* "last" is the last process event: exit */
PROC_EVENT_EXIT = 0x80000000
} what;
__u32 cpu;
struct timespec timestamp;
- union { /* must be last field of proc_event struct */
+ union process_event_data { /* must be last field of proc_event struct */
struct {
__u32 err;
} ack;

struct fork_proc_event {

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/