summaryrefslogtreecommitdiff
path: root/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-01-11 11:22:18 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-23 21:38:21 -0700
commit22fc72288f35219585f11fd40e663c0d3a30a28a (patch)
tree9765453d857b8b8c221539aa1ec745748aefd522 /drivers/misc/lis3lv02d/lis3lv02d_i2c.c
parent307af156795a3009398e609719cd557f58a20907 (diff)
ARM: ignore memory below PHYS_OFFSET
commit 571b14375019c3a66ef70d4d4a7083f4238aca30 upstream. If the kernel is loaded higher in physical memory than normal, and we calculate PHYS_OFFSET higher than the start of RAM, this leads to boot problems as we attempt to map part of this RAM into userspace. Rather than struggle with this, just truncate the mapping. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Wang Nan <wangnan0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lis3lv02d/lis3lv02d_i2c.c')
0 files changed, 0 insertions, 0 deletions