diff options
author | Alexandre Rusev <arusev@ru.mvista.com> | 2008-02-26 18:42:10 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-02-29 23:47:20 +0100 |
commit | 9ae3ae0bebb9a3a348dc233229008b126014889d (patch) | |
tree | 84d6277d5e84576cc47fd815828352de99d3068f /arch/arm/mach-versatile | |
parent | [ARM] eliminate MODULE_PARM() usage (diff) | |
download | linux-9ae3ae0bebb9a3a348dc233229008b126014889d.tar.xz linux-9ae3ae0bebb9a3a348dc233229008b126014889d.zip |
[ARM] 4839/1: fixes kernel Oops in /dev/mem device driver for memory map with PHYS_OFF
"cat /dev/mem" may cause kernel Oops for boards with PHYS_OFFSET != 0
because character device is mapped to addresses starting from zero
and there is no protection against such situation.
Patch just add this.
Signed-off-by: Alexandre Rusev <arusev@ru.mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-versatile')
0 files changed, 0 insertions, 0 deletions