#ifndef _HACK_ASM_SEGMENT_H_ #define _HACK_ASM_SEGMENT_H_ #include #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 *); #define put_fs_byte(x,addr) put_user_byte ((x),(char *)(addr)) void put_user_byte (char, char *); void memcpy_fromfs (void *, void *, size_t); void memcpy_tofs (void *, void *, size_t); #endif