mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
update mods.h with public header guidelines
In git, we have moved this header to uapi directory, so that it can be installed with the headers_install target. It now has to follow guidelines of well-formed headers usable in userspace programs. * Update SPDX license header. * Don't use kernel CONFIG options. Bug 2657961 Change-Id: Iee2bbfc6c931b5e8c5ee71cef9dfdfbb7f50d114 Signed-off-by: Chris Dragan <kdragan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2310801 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
949b226f0e
commit
fa93fef9fb
@@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
/*
|
||||
* mods.h - This file is part of NVIDIA MODS kernel driver.
|
||||
*
|
||||
@@ -831,7 +831,7 @@ struct MODS_DEVICE_NUMA_INFO_3 {
|
||||
__u32 node_cpu_mask[MAX_CPU_MASKS_3];
|
||||
};
|
||||
|
||||
#if defined(CONFIG_PPC64) || defined(PPC64LE)
|
||||
#if defined(__powerpc64__)
|
||||
#define MAX_CPU_MASKS 64 /* 32 masks of 32bits = 2048 CPUs max */
|
||||
#else
|
||||
#define MAX_CPU_MASKS 32 /* 32 masks of 32bits = 1024 CPUs max */
|
||||
|
||||
Reference in New Issue
Block a user