microblaze: fix __get_user()

Cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2016-09-09 19:23:33 -04:00
commit e98b9e37ae

View file

@ -227,7 +227,7 @@ extern long __user_bad(void);
#define __get_user(x, ptr) \
({ \
unsigned long __gu_val; \
unsigned long __gu_val = 0; \
/*unsigned long __gu_ptr = (unsigned long)(ptr);*/ \
long __gu_err; \
switch (sizeof(*(ptr))) { \