Skip to content

Commit be16434

Browse files
author
Christoph Hellwig
committed
dma-mapping: drop unneeded includes from dma-mapping.h
Back in the day a lot of logic was implemented inline in dma-mapping.h and needed various includes. Move of this has long been moved out of line, so we can drop various includes to improve kernel rebuild times. Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 68b6dbf commit be16434

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

arch/powerpc/platforms/pseries/svm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <linux/mm.h>
1010
#include <linux/memblock.h>
11+
#include <linux/mem_encrypt.h>
1112
#include <linux/cc_platform.h>
1213
#include <asm/machdep.h>
1314
#include <asm/svm.h>

include/linux/dma-mapping.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
#ifndef _LINUX_DMA_MAPPING_H
33
#define _LINUX_DMA_MAPPING_H
44

5-
#include <linux/cache.h>
6-
#include <linux/sizes.h>
7-
#include <linux/string.h>
85
#include <linux/device.h>
96
#include <linux/err.h>
107
#include <linux/dma-direction.h>
118
#include <linux/scatterlist.h>
129
#include <linux/bug.h>
13-
#include <linux/mem_encrypt.h>
1410

1511
/**
1612
* List of possible attributes associated with a DMA mapping. The semantics

0 commit comments

Comments
 (0)