diff options
Diffstat (limited to 'include/sys/vmsystm.h')
-rw-r--r-- | include/sys/vmsystm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/vmsystm.h b/include/sys/vmsystm.h index e66872f0c..bb23da965 100644 --- a/include/sys/vmsystm.h +++ b/include/sys/vmsystm.h @@ -7,6 +7,9 @@ #define ptob(pages) (pages * PAGE_SIZE) #define membar_producer() smp_wmb() +#define copyin(from, to, size) copy_from_user(to, from, size) +#define copyout(from, to, size) copy_to_user(to, from, size) + #if 0 /* The approximate total number of free pages */ #define freemem 0 |