diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 17:57:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 17:57:09 +0000 |
commit | a62a0f262e0179df8c632f529c95abf54ef78332 (patch) | |
tree | 80e6a7a7d407d08e218332bb3fcccdaf9f28fcc1 /include/linux/mm.h | |
parent | fd095d09f2d475dc2e8599b1b8bae1cd65e91685 (diff) |
Part #2 merging back my changes ...
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index cab25f117..483596c29 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -304,9 +304,15 @@ extern void truncate_inode_pages(struct inode *, unsigned long); #define GFP_NOBUFFER 0x04 #define GFP_NFS 0x05 +/* Flag - indicates that the buffer should be allocated uncached as for an + architecture where the caches don't snoop DMA access. This is a even + stricter requirement than GFP_DMA as GFP_DMA allocated buffers might be + writeback cacheable and not be suitable for use with devices like + networks cards which manipulate objects smaller than a cacheline. */ +#define GFP_UNCACHED 0x40 + /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some platforms, used as appropriate on others */ - #define GFP_DMA 0x80 #define GFP_LEVEL_MASK 0xf |