summaryrefslogtreecommitdiff
path: root/pfinet/asm
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-02 17:27:09 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-02 17:27:09 +0000
commitf58da9049e4fbfee9600fad08b1b648bcc37a96d (patch)
treef3030ed0f56efa405dfcd7a90c30d25631e5c1a0 /pfinet/asm
parentaf93d60fdfa71846f239cf0e8abb8ebc6ad8f223 (diff)
Formerly segment.h.~2~
Diffstat (limited to 'pfinet/asm')
-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 *);
+