x86: implement mapping_error in pci-nommu_64.c
authorGlauber Costa <gcosta@redhat.com>
Tue, 8 Apr 2008 16:20:45 +0000 (13:20 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:57 +0000 (19:19 +0200)
commit9f9ab46d557c32b9cad49c31d094d659ec3b59c0
tree6b9d59110207b0b273c9bfbfca14aa9840bb6ec5
parentd5df63f48a67400a26eba15624aa883897a4f4d1
x86: implement mapping_error in pci-nommu_64.c

This patch implements mapping_error for pci-nommu_64.c.
It takes care to keep the same compatible behaviour it already
had. Although this file is not (yet) used for i386, we introduce
the i386 version here. Again, care is taken, even at the expense of
an ifdef, to keep the same behaviour inconditionally.

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