diff options
author | Johannes Weiner <jw@emlix.com> | 2009-03-04 16:21:31 +0100 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2009-04-02 23:41:50 -0700 |
commit | e5083a63b6a8546c5fe1e571fe529e3939787ec2 (patch) | |
tree | 5c11db5b0a924f8bcfc404c202630d37ccfd7c3c /arch/xtensa/include/asm/dma.h | |
parent | 7789f89af9e8e426d7a7f173cf465a4fcadba7dd (diff) | |
download | linux-stable-e5083a63b6a8546c5fe1e571fe529e3939787ec2.tar.gz linux-stable-e5083a63b6a8546c5fe1e571fe529e3939787ec2.tar.bz2 linux-stable-e5083a63b6a8546c5fe1e571fe529e3939787ec2.zip |
xtensa: nommu support
Add support for !CONFIG_MMU setups.
Signed-off-by: Johannes Weiner <jw@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include/asm/dma.h')
-rw-r--r-- | arch/xtensa/include/asm/dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/dma.h b/arch/xtensa/include/asm/dma.h index e30f3abf48f0..137ca3945b07 100644 --- a/arch/xtensa/include/asm/dma.h +++ b/arch/xtensa/include/asm/dma.h @@ -44,8 +44,9 @@ * the value desired). */ +#ifndef MAX_DMA_ADDRESS #define MAX_DMA_ADDRESS (PAGE_OFFSET + XCHAL_KIO_SIZE - 1) - +#endif /* Reserve and release a DMA channel */ extern int request_dma(unsigned int dmanr, const char * device_id); |