docs: Add description of BUILD_BUG_ON().

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-12-04 16:36:43 +00:00
1 parent 7e3e35eed6
commit afdfef4b15
1 file changed
+7
+7
View File
@@ -79,3 +79,10 @@ interesting.
A possible approach to dealing with boot-time errors, rather than
crashing the hypervisor. It's particularly appropriate when parsing
non-critical BIOS tables and detecting extended hardware features.
7. BUILD_BUG_ON()
-----------------
Useful for assertions which can be evaluated at compile time. For
example, making explicit assumptions about size and alignment of C
structures.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.