![]() | ||||||||||
Messages in this thread Patch in this message |
I'm thinking about doing something along these lines: --- linux-2.5.63/include/linux/gfp.h 2003-02-24 13:05:13.000000000 -0600 +++ linux-2.5.63-gfpdma/include/linux/gfp.h 2003-02-27 17:24:39.000000000 -0600 @@ -26,11 +26,8 @@ -/* Flag - indicates that the buffer will be suitable for DMA. Ignored on some - platforms, used as appropriate on others */ - -#define GFP_DMA __GFP_DMA - +#define GFP_ATOMIC_DMA (GFP_ATOMIC | __GFP_DMA) +#define GFP_KERNEL_DMA (GFP_KERNEL | __GFP_DMA) combined with changing some users to use __GFP_DMA if they really do mean the bitmask. Comments? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2005-03-22 12:33 [from the cache] ©2003-2008 | ||||||||||