diff options
author | Gary King <GKing@nvidia.com> | 2010-02-02 15:16:21 -0800 |
---|---|---|
committer | Gary King <GKing@nvidia.com> | 2010-02-02 15:29:39 -0800 |
commit | ec1c33b802243ea87310b236bad856ddc0dfd8b3 (patch) | |
tree | 51e08625c358dbf7c187e97dca9081c7344beed9 /arch | |
parent | 5d3a3348ddf14b347f4b954ecb91a32ede505b78 (diff) |
tegra nvos: fix initial cache clean for highmem pages
the initial cache writeback for highmem pages in the nvos page allocator
had accidentally shadowed the variable used to store the kernel address,
so the page was never unmapped.
this caused a quick exhaustion of the kmap area during Android bootup.
Change-Id: I6e27b7b7f75162652f32296784b53cbdbdc502c4
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/nvos/nvos_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/nvos/nvos_page.c b/arch/arm/mach-tegra/nvos/nvos_page.c index e594f13d3b47..bd8ba90e9ab7 100644 --- a/arch/arm/mach-tegra/nvos/nvos_page.c +++ b/arch/arm/mach-tegra/nvos/nvos_page.c @@ -43,7 +43,7 @@ static void pagemap_flush_page(struct page *page) void *km = NULL; if (!page_address(page)) { - void *km = kmap(page); + km = kmap(page); if (!km) { pr_err("unable to map high page\n"); return; |