Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ldegio authored and fntlnz committed Dec 16, 2020
1 parent 263b723 commit ab8569c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions driver/ppm.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ typedef unsigned long syscall_arg_t;
* These are analogous to get_user(), copy_from_user() and strncpy_from_user(),
* but they can't sleep, barf on page fault or be preempted
*/
#ifndef WDIG
#define ppm_get_user(x, ptr) ({ ppm_copy_from_user(&x, ptr, sizeof(x)) ? -EFAULT : 0; })
#endif
#ifndef UDIG
unsigned long ppm_copy_from_user(void *to, const void __user *from, unsigned long n);
long ppm_strncpy_from_user(char *to, const char __user *from, unsigned long n);
Expand Down

0 comments on commit ab8569c

Please sign in to comment.