]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86 mmiotrace: comment about user space ABI
authorPekka Paalanen <pq@iki.fi>
Mon, 12 May 2008 19:20:57 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 24 May 2008 09:21:48 +0000 (11:21 +0200)
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/mmiotrace.h

index cb247825f3ec7df079538c033ebd3a95ac66f8c9..6ec288f1fe24bfdf3aa5e39ed2ada5f6d236db69 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <asm/types.h>
 
+/*
+ * If you change anything here, you must bump MMIO_VERSION.
+ * This is the relay data format for user space.
+ */
 #define MMIO_VERSION 0x04
 
 /* mm_io_header.type */
@@ -23,7 +27,7 @@ enum mm_io_opcode {          /* payload type: */
 };
 
 struct mm_io_header {
-       __u32 type;
+       __u32 type;     /* see MMIO_* macros above */
        __u32 sec;      /* timestamp */
        __u32 nsec;
        __u32 pid;      /* PID of the process, or 0 for kernel core */