[ARM] Fix get_user when passed a const pointer
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 18 Nov 2005 14:22:03 +0000 (14:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Nov 2005 14:22:03 +0000 (14:22 +0000)
Unfortunately, later gcc versions error out when our get_user is passed
a const pointer, since we write to a temporary variable declared as
typeof(*(p)) which propagates the const-ness.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found