Commit b7d88a5e authored by Linus Torvalds's avatar Linus Torvalds

Now that sparse looks into asms, fix the fake anti-optimizer cast

macro to use the right address space.
parent 317a4d81
......@@ -314,7 +314,7 @@ do { \
#endif
struct __large_struct { unsigned long buf[100]; };
#define __m(x) (*(struct __large_struct *)(x))
#define __m(x) (*(struct __large_struct __user *)(x))
/*
* Tell gcc we read from memory instead of writing: this is because
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment