[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] docs: Add description of BUILD_BUG_ON().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228408603 0
# Node ID 1b173394f815fe772797415c08ffb5360e4bb084
# Parent  a71c610cc9e6625ba2605225c7402031ffad70a5
docs: Add description of BUILD_BUG_ON().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 docs/misc/xen-error-handling.txt |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r a71c610cc9e6 -r 1b173394f815 docs/misc/xen-error-handling.txt
--- a/docs/misc/xen-error-handling.txt  Thu Dec 04 14:12:08 2008 +0000
+++ b/docs/misc/xen-error-handling.txt  Thu Dec 04 16:36:43 2008 +0000
@@ -79,3 +79,10 @@ A possible approach to dealing with boot
 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.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.