2021-04-28 20:55:24

by Ricardo Koller

[permalink] [raw]
Subject: [PATCH v2 2/6] tools headers x86: Update bitsperlong.h in tools

Update uapi/asm-generic/bitsperlong.h with the latest version in the
kernel. Here is how KVM selftests is currently including it:

tools/testing/selftests/kvm/lib/elf.c:#include <linux/elf.h>
. ../../../../usr/include/linux/elf.h
.. ../../../../tools/include/linux/types.h
... ../../../../usr/include/asm/types.h
.... ../../../../usr/include/asm-generic/types.h
..... ../../../../usr/include/asm-generic/int-ll64.h
...... ../../../../usr/include/asm/bitsperlong.h
....... ../../../../tools/include/asm-generic/bitsperlong.h
........ ../../../../tools/include/uapi/asm-generic/bitsperlong.h

Signed-off-by: Ricardo Koller <[email protected]>
---
tools/include/uapi/asm-generic/bitsperlong.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/include/uapi/asm-generic/bitsperlong.h b/tools/include/uapi/asm-generic/bitsperlong.h
index 23e6c416b85f..693d9a40eb7b 100644
--- a/tools/include/uapi/asm-generic/bitsperlong.h
+++ b/tools/include/uapi/asm-generic/bitsperlong.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
#define _UAPI__ASM_GENERIC_BITS_PER_LONG

--
2.31.1.498.g6c1eba8ee3d-goog