diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-12-04 16:36:43 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-12-04 16:36:43 +0000 |
commit | afdfef4b15e045b9cb5a4391f81e5f8bbf20ab68 (patch) | |
tree | 0ea84f294899321bbdc7390d1cc1db5be7136776 /docs/misc | |
parent | 7e3e35eed67b3b3d8be8facfb557aa4d0e38e68f (diff) | |
download | xen-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')
-rw-r--r-- | docs/misc/xen-error-handling.txt | 7 |
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. |