]> err.no Git - linux-2.6/blobdiff - drivers/oprofile/event_buffer.h
[PATCH] Consolidate the asm-ppc*/fcntl.h files into asm-powerpc
[linux-2.6] / drivers / oprofile / event_buffer.h
index 442aaad391e08ac7963693111cd5b1bbf20fce8d..0180236305992d390715e640b3805ec21bcd94a5 100644 (file)
@@ -35,6 +35,9 @@ void wake_up_buffer_waiter(void);
 #define TRACE_BEGIN_CODE               8
 #define TRACE_END_CODE                 9
  
+#define INVALID_COOKIE ~0UL
+#define NO_COOKIE 0UL
+
 /* add data to the event buffer */
 void add_event_entry(unsigned long data);