[AVR32] Simplify pte_alloc_one{,_kernel}
commite7f3bac95e0bdfd520e065c4a29aad46190fcc99
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 3 Aug 2007 11:29:01 +0000 (3 13:29 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 15 Aug 2007 14:36:56 +0000 (15 16:36 +0200)
treec793a75643f183ccb083f1f309925a75c941df3f
parent5221b34edfd05ac35c077e071095cf853325320f
[AVR32] Simplify pte_alloc_one{,_kernel}

There's really no need to retry an allocation with __GFP_REPEAT set.
Also, use get_zeroed_page() and __GFP_ZERO to eliminate the extra call
to clear_page() afterwards.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/pgalloc.h