fio: syslet.h build fix
authorIngo Molnar <mingo@elte.hu>
Tue, 20 Feb 2007 09:19:41 +0000 (10:19 +0100)
committerJens Axboe <axboe@carl.home.kernel.dk>
Tue, 20 Feb 2007 09:19:41 +0000 (10:19 +0100)
update syslet.h to build fine even if __user is not defined.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
syslet.h

index 85f0ebc63ea7b4113604f313bc3a6e57eae2c8c8..d89abd440822f0fcf74c9cb7c3cb3c9670749a02 100644 (file)
--- a/syslet.h
+++ b/syslet.h
  * User-space API/ABI definitions:
  */
 
  * User-space API/ABI definitions:
  */
 
+#ifndef __user
+# define __user
+#endif
+
 /*
  * This is the 'Syslet Atom' - the basic unit of execution
  * within the syslet framework. A syslet always represents
 /*
  * This is the 'Syslet Atom' - the basic unit of execution
  * within the syslet framework. A syslet always represents