aboutsummaryrefslogtreecommitdiff
path: root/include/asm-s390/resource.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2005-11-07 00:59:11 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 07:53:34 -0800
commit1047aa7723997620ba03a21429d2c5d923ebf48f (patch)
treea0c5f4cf585833262e959d5d0c8be91ebb3932e0 /include/asm-s390/resource.h
parentcdb32dc90bd38503befd1f4d0b762a1ace09bb28 (diff)
[PATCH] s390: const pointer uaccess
Using __typeof__(*ptr) on a pointer to const makes the __x variable in __get_user const as well. The latest gcc will refuse to write to it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/resource.h')
0 files changed, 0 insertions, 0 deletions