diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-29 07:40:35 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 06:25:17 +0100 |
commit | 7021d86afa6f3a8bf76218ac97f5847a6d985730 (patch) | |
tree | fb12712d5ff3ec34514c2799736263507de1918d /arch/powerpc/oprofile | |
parent | powerpc/kdump: Use ppc_save_regs() in crash_setup_regs() (diff) | |
download | linux-7021d86afa6f3a8bf76218ac97f5847a6d985730.tar.xz linux-7021d86afa6f3a8bf76218ac97f5847a6d985730.zip |
powerpc/mm: Make clear_fixmap() actually work
The clear_fixmap() routine issues map_page() with flags set to 0.
Currently this causes a BUG_ON() inside the map_page(), as it assumes
that a PTE should be clear before mapping.
This patch makes the map_page() to trigger the BUG_ON() only if the
flags were set.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/oprofile')
0 files changed, 0 insertions, 0 deletions