From: Haavard Skinnemoen Date: Wed, 5 Mar 2008 09:00:28 +0000 (+0100) Subject: avr32: Add simple SRAM allocator X-Git-Tag: upstream/snapshot3+hdmi~24391^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b83d6ee17588f1a4fbfc8ef0451b0900a5ef5950;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git avr32: Add simple SRAM allocator Add SRAM allocator for avr32, which is just a thin wrapper around genalloc. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index a5793c1..e8ee5fa 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig @@ -88,6 +88,7 @@ config PLATFORM_AT32AP select MMU select PERFORMANCE_COUNTERS select HAVE_GPIO_LIB + select GENERIC_ALLOCATOR # # CPU types diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 3ee5e72..07b21b1 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c @@ -20,6 +20,7 @@ #include #include #include +#include #include