[riscv64] tools/include/.../bitsperlong.h: Add support for riscv
This commit is contained in:
parent
01f97819f6
commit
64e3d0683d
|
@ -8,6 +8,7 @@ linux (4.19.12-2) UNRELEASED; urgency=medium
|
|||
[ Ben Hutchings ]
|
||||
* linux-image-*-unsigned: Remove Provides field (Closes: #916927)
|
||||
* [ia64,m68k] libbpf: Don't build on architectures without performance events
|
||||
* [riscv64] tools/include/.../bitsperlong.h: Add support for riscv
|
||||
|
||||
-- Uwe Kleine-König <ukleinek@debian.org> Sun, 23 Dec 2018 17:28:52 +0100
|
||||
|
||||
|
|
21
debian/patches/bugfix/riscv/tools-include-bitsperlong.h-add-support-for-riscv.patch
vendored
Normal file
21
debian/patches/bugfix/riscv/tools-include-bitsperlong.h-add-support-for-riscv.patch
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Date: Tue, 25 Dec 2018 22:38:13 +0000
|
||||
Subject: tools/include/.../bitsperlong.h: Add support for riscv
|
||||
|
||||
tools/include/uapi/asm/bitsperlong.h needs to include the right
|
||||
architecture's <asm/bitsperlong.h> for any architecture that may be
|
||||
64-bit.
|
||||
|
||||
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
||||
---
|
||||
--- a/tools/include/uapi/asm/bitsperlong.h
|
||||
+++ b/tools/include/uapi/asm/bitsperlong.h
|
||||
@@ -13,6 +13,8 @@
|
||||
#include "../../arch/mips/include/uapi/asm/bitsperlong.h"
|
||||
#elif defined(__ia64__)
|
||||
#include "../../arch/ia64/include/uapi/asm/bitsperlong.h"
|
||||
+#elif defined(__riscv)
|
||||
+#include "../../arch/riscv/include/uapi/asm/bitsperlong.h"
|
||||
#else
|
||||
#include <asm-generic/bitsperlong.h>
|
||||
#endif
|
|
@ -159,6 +159,7 @@ bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch
|
|||
bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch
|
||||
bugfix/all/libbpf-add-soname-to-shared-object.patch
|
||||
bugfix/all/libbpf-link-shared-object-with-libelf.patch
|
||||
bugfix/riscv/tools-include-bitsperlong.h-add-support-for-riscv.patch
|
||||
|
||||
# wireless: Disable regulatory.db direct loading (until we sort out signing)
|
||||
debian/wireless-disable-regulatory.db-direct-loading.patch
|
||||
|
|
Loading…
Reference in New Issue