VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Nathan Chancellor <nathan@kernel.org> 2021-02-04 18:32:57 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-05 11:03:47 -0800 commit: 28abcc963149e06d956d95a18a85f4ba26af746f parent: b99acdcbfe3c8394ddd8b8d89d9bae2bbba4a459
Commit Summary:
ubsan: implement __ubsan_handle_alignment_assumption
Diffstat:
1 file changed, 6 insertions, 0 deletions
diff --git a/lib/ubsan.h b/lib/ubsan.h
index 7b56c09473a9..9a0b71c5ff9f 100644
--- a/lib/ubsan.h
+++ b/lib/ubsan.h
@@ -78,6 +78,12 @@ struct invalid_value_data {
 	struct type_descriptor *type;
 };
 
+struct alignment_assumption_data {
+	struct source_location location;
+	struct source_location assumption_location;
+	struct type_descriptor *type;
+};
+
 #if defined(CONFIG_ARCH_SUPPORTS_INT128)
 typedef __int128 s_max;
 typedef unsigned __int128 u_max;