diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-04-19 08:16:41 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-20 14:35:19 -0400 |
commit | c9042a1f45324e87b267b758288ba645a6ea0808 (patch) | |
tree | c044611dd844c5f6792413811b327fc23d024743 /drivers/gpu/nvgpu/include | |
parent | a6fd69993189436873bd5e6008a6a7433a3afe1d (diff) |
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>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hashtable.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hashtable.h b/drivers/gpu/nvgpu/include/nvgpu/hashtable.h new file mode 100644 index 00000000..cf181c6d --- /dev/null +++ b/drivers/gpu/nvgpu/include/nvgpu/hashtable.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms and conditions of the GNU General Public License, | ||
6 | * version 2, as published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
11 | * more details. | ||
12 | */ | ||
13 | #ifndef __NVGPU_SORT_H__ | ||
14 | #define __NVGPU_SORT_H__ | ||
15 | |||
16 | #ifdef __KERNEL__ | ||
17 | #include <linux/hashtable.h> | ||
18 | #endif | ||
19 | |||
20 | #endif | ||