OSDN Git Service

drivers: dma-removed: Don't free prohibited memmap entries
authorShiraz Hashim <shashim@codeaurora.org>
Mon, 11 Apr 2016 11:15:13 +0000 (16:45 +0530)
committerKyle Yan <kyan@codeaurora.org>
Tue, 31 May 2016 22:25:50 +0000 (15:25 -0700)
commit4a25214b7c87c52bc05ce14a3428f20df7673a22
treefe64fc14b7661241b276c036c4cd5840992db3ab
parent39b2cf8cd2333ec4b45b5c15013f53393f3aa247
drivers: dma-removed: Don't free prohibited memmap entries

The mm subsystem access page structs aligned to
pageblock_nr_pages and assumes that these are valid. We
must not free any memmap entries that it may inspect.

CRs-Fixed: 1000343
Change-Id: I73e0402ee72cad8df307ece1134f9e7304125cf6
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
drivers/base/dma-removed.c