http://git.etherboot.org
/
people
/
holger
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6c894c2
)
Add UNULL
author
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 01:40:12 +0000
(
01:40
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 01:40:12 +0000
(
01:40
+0000)
src/include/gpxe/uaccess.h
patch
|
blob
|
history
diff --git
a/src/include/gpxe/uaccess.h
b/src/include/gpxe/uaccess.h
index
38853bf
..
05f89e0
100644
(file)
--- a/
src/include/gpxe/uaccess.h
+++ b/
src/include/gpxe/uaccess.h
@@
-21,4
+21,7
@@
#include <bits/uaccess.h>
+/** Equivalent of NULL for user pointers */
+#define UNULL ( ( userptr_t ) 0 )
+
#endif /* _GPXE_UACCESS_H */