Skip to contentSkip to conversation

get_user, put_user and asm/uaccess.h problem

DISCUSSION Alain Birtz 2 participants 2 messages Jun 8, 2000 – Jun 9, 2000

lore
Share & tools
lore
#0 lore raw

I need to use get_user and put_user in a small module. These functions are defined in asm/uaccess.h
But #include asm/uaccess.h generate a lot of error (about 3 page). How can I fix it ?

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines

I need to use get_user and put_user in a small module. These functions are defined in asm/uaccess.h
But #include asm/uaccess.h generate a lot of error (about 3 page). How can I fix it ?

-D__KERNEL__ ??

Michael

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/