x86: retry allocation if failed
authorGlauber Costa <gcosta@redhat.com>
Wed, 9 Apr 2008 16:18:05 +0000 (13:18 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:58 +0000 (19:19 +0200)
commit5fa78ca75d8e67063948a01b51594a0904af5710
treec5ae1dbb74266fe3a321a0bf850a89f9043dc0d8
parent8779f2fc3b84ebb6c5181fb13d702e9944c16069
x86: retry allocation if failed

This patch puts in the code to retry allocation in case it fails. By its
own, it does not make much sense but making the code look like x86_64.
But later patches in this series will make we try to allocate from
zones other than DMA first, which will possibly fail.

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-dma_32.c