aboutsummaryrefslogtreecommitdiffstats
path: root/docs/misc/xen-error-handling.txt
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-12-04 16:36:43 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-12-04 16:36:43 +0000
commitafdfef4b15e045b9cb5a4391f81e5f8bbf20ab68 (patch)
tree0ea84f294899321bbdc7390d1cc1db5be7136776 /docs/misc/xen-error-handling.txt
parent7e3e35eed67b3b3d8be8facfb557aa4d0e38e68f (diff)
downloadxen-afdfef4b15e045b9cb5a4391f81e5f8bbf20ab68.tar.gz
xen-afdfef4b15e045b9cb5a4391f81e5f8bbf20ab68.tar.bz2
xen-afdfef4b15e045b9cb5a4391f81e5f8bbf20ab68.zip
docs: Add description of BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'docs/misc/xen-error-handling.txt')
-rw-r--r--docs/misc/xen-error-handling.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/misc/xen-error-handling.txt b/docs/misc/xen-error-handling.txt
index 61cc67261b..7728787092 100644
--- a/docs/misc/xen-error-handling.txt
+++ b/docs/misc/xen-error-handling.txt
@@ -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.