ia64/xen-unstable

changeset 18868:1b173394f815

docs: Add description of BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Dec 04 16:36:43 2008 +0000 (2008-12-04)
parents a71c610cc9e6
children 09160c3bd179
files docs/misc/xen-error-handling.txt
line diff
     1.1 --- a/docs/misc/xen-error-handling.txt	Thu Dec 04 14:12:08 2008 +0000
     1.2 +++ b/docs/misc/xen-error-handling.txt	Thu Dec 04 16:36:43 2008 +0000
     1.3 @@ -79,3 +79,10 @@ 6. Feature disable
     1.4  A possible approach to dealing with boot-time errors, rather than
     1.5  crashing the hypervisor. It's particularly appropriate when parsing
     1.6  non-critical BIOS tables and detecting extended hardware features.
     1.7 +
     1.8 +
     1.9 +7. BUILD_BUG_ON()
    1.10 +-----------------
    1.11 +Useful for assertions which can be evaluated at compile time. For
    1.12 +example, making explicit assumptions about size and alignment of C
    1.13 +structures.