]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove superfluous WARN_ON() from dma-noncoherent.c
authorHollis Blanchard <hollisb@us.ibm.com>
Mon, 10 Nov 2008 14:33:36 +0000 (14:33 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Nov 2008 05:04:52 +0000 (16:04 +1100)
commitf33605c5ed4c5fce84e86deb25483c488258b285
treef85adf6239bb5b90051137fdf4669da89068d16f
parentf0727ba92db147b4c6501b3e173bd23aa752254c
powerpc: Remove superfluous WARN_ON() from dma-noncoherent.c

I can't tell why this WARN_ON exists, and there's no comment
explaining it.  Whether the pmd is present or not, pte_alloc_kernel()
seems to handle both cases.

Booting a 440 kernel with 64K PAGE_SIZE triggers the warning, but boot
successfully completes and I see no problems beyond that.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/dma-noncoherent.c