summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/page_allocator.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-11 14:39:21 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-12 10:01:12 -0400
commit7665421874e66f0b00d52a5f1db5210895a9ab7b (patch)
tree039b5523ae1b44330c1d37bae145daf855714b2e /drivers/gpu/nvgpu/common/mm/page_allocator.c
parentfb1f604f41435a206b866fba87d36bbc3e9ae474 (diff)
gpu: nvgpu: Replace use of bitops.h and kernel.h
Remove use of linux/kernel.h and linux/compiler.h. We don't use anything in those headers. Also replace use of linux/bitops.h with new wrapper nvgpu/bitops.h. JIRA NVGPU-13 Change-Id: Iefa6b4598d5a5e7fc386c0a7a554e778a87010d6 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1460777 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/page_allocator.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/page_allocator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/page_allocator.c b/drivers/gpu/nvgpu/common/mm/page_allocator.c
index 1e5fae3d..41ce28a7 100644
--- a/drivers/gpu/nvgpu/common/mm/page_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/page_allocator.c
@@ -14,10 +14,9 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#include <linux/kernel.h>
18#include <linux/bitops.h>
19#include <linux/mm.h> 17#include <linux/mm.h>
20 18
19#include <nvgpu/bitops.h>
21#include <nvgpu/allocator.h> 20#include <nvgpu/allocator.h>
22#include <nvgpu/page_allocator.h> 21#include <nvgpu/page_allocator.h>
23#include <nvgpu/kmem.h> 22#include <nvgpu/kmem.h>