summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pfinet/asm/segment.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pfinet/asm/segment.h b/pfinet/asm/segment.h
index e69de29b..ff8eb64d 100644
--- a/pfinet/asm/segment.h
+++ b/pfinet/asm/segment.h
@@ -0,0 +1,11 @@
+#ifndef _HACK_ASM_SEGMENT_H_
+#define _HACK_ASM_SEGMENT_H_
+
+#define get_fs_long(addr) get_user_long((int *)(addr))
+
+u_long get_user_long (const int *addr);
+
+#define put_fs_long(x,addr) put_user_long((x),(int *)(addr))
+
+void put_user_long (u_long, int *);
+