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

Matt Helsley
2006-06-27T11:52:55Z

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

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
---
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 {

--