pc_lx_emul: add __put_user

Issue #4455.
This commit is contained in:
Josef Söntgen 2022-02-11 16:25:49 +01:00 committed by Christian Helmuth
parent edb08770dc
commit b2e11f1e9e

View File

@ -15,4 +15,7 @@
#define get_user(x, ptr) ({ (x) = *(ptr); 0; }) #define get_user(x, ptr) ({ (x) = *(ptr); 0; })
#define put_user(x, ptr) ({ *(ptr) = (x); 0; }) #define put_user(x, ptr) ({ *(ptr) = (x); 0; })
#undef __put_user
#define __put_user(x, ptr) ({ *(ptr) = (x); 0; })
#endif #endif