diff options
| author | Eugeniy Paltsev <[email protected]> | 2018-07-30 16:26:36 +0000 |
|---|---|---|
| committer | Vineet Gupta <[email protected]> | 2018-09-04 20:21:38 +0000 |
| commit | dd45210b6dd4f1512eafcc41774154ebb762360f (patch) | |
| tree | 7ec04d741bc790b2bafec213a8527883229cfaaf /arch/powerpc/lib/code-patching.c | |
| parent | ARC: IOC: panic if both IOC and ZONE_HIGHMEM enabled (diff) | |
| download | kernel-dd45210b6dd4f1512eafcc41774154ebb762360f.tar.gz kernel-dd45210b6dd4f1512eafcc41774154ebb762360f.zip | |
ARC: don't check for HIGHMEM pages in arch_dma_alloc
__GFP_HIGHMEM flag is cleared by upper layer functions
(in include/linux/dma-mapping.h) so we'll never get a
__GFP_HIGHMEM flag in arch_dma_alloc gfp argument.
That's why alloc_pages will never return highmem page
here.
Get rid of highmem pages handling and cleanup arch_dma_alloc
and arch_dma_free functions.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Eugeniy Paltsev <[email protected]>
Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
