From: Haavard Skinnemoen Date: Wed, 5 Mar 2008 09:00:28 +0000 (+0100) Subject: avr32: Add simple SRAM allocator X-Git-Tag: v2.6.27-rc1~1108^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b83d6ee17588f1a4fbfc8ef0451b0900a5ef5950;p=linux-2.6-omap-h63xx.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 a5793c13f50..e8ee5fa017b 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 3ee5e727879..07b21b121ee 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c @@ -20,6 +20,7 @@ #include #include #include +#include #include