summaryrefslogtreecommitdiff
path: root/pfinet/asm/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/asm/segment.h')
-rw-r--r--pfinet/asm/segment.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pfinet/asm/segment.h b/pfinet/asm/segment.h
index 6278814d..433e5882 100644
--- a/pfinet/asm/segment.h
+++ b/pfinet/asm/segment.h
@@ -6,6 +6,9 @@
#define get_fs_long(addr) get_user_long((int *)(addr))
unsigned long get_user_long (const int *addr);
+#define get_fs_byte(addr) get_user_byte((char *)(addr))
+char get_user_byte (const char *addr);
+
#define put_fs_long(x,addr) put_user_long((x),(int *)(addr))
void put_user_long (unsigned long, int *);