x86: use WARN_ON in mapping functions
authorGlauber Costa <gcosta@redhat.com>
Tue, 8 Apr 2008 16:20:49 +0000 (13:20 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:57 +0000 (19:19 +0200)
commit5b3e5b7273435f8a7f83d3556a09adfd6f247e36
treebc2406c017d2e570d33e0e349e028a9213518b1e
parent30db2cbf38d68f466fd34488f8312a151225c9ac
x86: use WARN_ON in mapping functions

In the very same way i386 do, we use WARN_ON functions
in map_simple and map_sg.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-nommu_64.c