git: 6a203741add4 - stable/12 - riscv: fix uintfptr_t

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Mon, 20 Dec 2021 18:10:38 UTC
The branch stable/12 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=6a203741add42a82f6942a6a313ddf935d95ea9f

commit 6a203741add42a82f6942a6a313ddf935d95ea9f
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2020-08-05 22:09:40 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-20 18:10:23 +0000

    riscv: fix uintfptr_t
    
    Fixes compilation after r363932
    
    (cherry picked from commit 9ce4656a1ffff4f0b874d8eb8e242378ff906643)
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/riscv/include/profile.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/riscv/include/profile.h b/sys/riscv/include/profile.h
index 087af0504c75..edfcbd31b73a 100644
--- a/sys/riscv/include/profile.h
+++ b/sys/riscv/include/profile.h
@@ -70,7 +70,7 @@ void	mcount(uintfptr_t frompc, uintfptr_t selfpc);
 
 #else /* !_KERNEL */
 
-typedef unsigned long long	uintfptr_t;
+typedef	__uintfptr_t	uintfptr_t;
 
 #define	_MCOUNT_DECL	void mcount
 #define	MCOUNT