mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
Remove macro-protected dead code. NVMAP_LOADABLE_MODULE enables NvMap as an OOT module, while NVMAP_UPSTREAM_KERNEL is a config for kstable/OOT kernel. For Kernel 5.10+ both are always defined, So the related macro protected code can be safely removed. Bug 4479135 Change-Id: I792f1cb2c54fd21bcf0e73ffc52e46e4efd47862 Signed-off-by: Yash Bhatt <ybhatt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3079420 Reviewed-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
19 lines
408 B
C
19 lines
408 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2013-2024, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* Some MM related functionality specific to nvmap.
|
|
*/
|
|
|
|
#include <trace/events/nvmap.h>
|
|
#include <linux/version.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
|
|
#include "nvmap_priv.h"
|
|
|
|
void nvmap_zap_handle(struct nvmap_handle *handle, u64 offset, u64 size)
|
|
{
|
|
pr_debug("%s is not supported!\n", __func__);
|
|
}
|