gpu: nvgpu: Add wrapper nvgpu/hashtable.h

Add wrapper header file nvgpu/hashtable.h.
It #includes <linux/hashtable.h> in Linux.

JIRA NVGPU-13

Change-Id: I88e02ab783ac414990a33d4d64c910644ff38fe6
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1465615
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2017-04-19 17:46:41 +05:30
committed by mobile promotions
parent a6fd699931
commit c9042a1f45
4 changed files with 22 additions and 3 deletions

View File

@@ -16,7 +16,6 @@
#include <linux/circ_buf.h>
#include <linux/wait.h>
#include <linux/ktime.h>
#include <linux/hashtable.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/poll.h>

View File

@@ -14,12 +14,12 @@
#include <asm/barrier.h>
#include <linux/kthread.h>
#include <linux/circ_buf.h>
#include <linux/hashtable.h>
#include <linux/debugfs.h>
#include <nvgpu/kmem.h>
#include <nvgpu/dma.h>
#include <nvgpu/bug.h>
#include <nvgpu/hashtable.h>
#include "ctxsw_trace_gk20a.h"
#include "fecs_trace_gk20a.h"

View File

@@ -0,0 +1,20 @@
/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
#ifndef __NVGPU_SORT_H__
#define __NVGPU_SORT_H__
#ifdef __KERNEL__
#include <linux/hashtable.h>
#endif
#endif

View File

@@ -19,7 +19,6 @@
#include <linux/dma-buf.h>
#include <linux/nvmap.h>
#include <linux/reset.h>
#include <linux/hashtable.h>
#include <linux/platform/tegra/emc_bwmgr.h>
#include <uapi/linux/nvgpu.h>
@@ -29,6 +28,7 @@
#include <nvgpu/kmem.h>
#include <nvgpu/bug.h>
#include <nvgpu/hashtable.h>
#include "clk.h"