summaryrefslogtreecommitdiffstats
path: root/src/include/util
diff options
context:
space:
mode:
authorCamVan Nguyen <ctnguyen@us.ibm.com>2011-08-08 20:12:06 -0500
committerCAMVAN T. NGUYEN <ctnguyen@us.ibm.com>2011-08-10 22:01:42 -0500
commit068d68fdc716da1ad4443f66068b7494525e681f (patch)
tree845ca3e7b9535562c88ee3e097f7bc4c4ee99981 /src/include/util
parent56ff95dceb5e98fdd20382866d45775fde49584b (diff)
downloadtalos-hostboot-068d68fdc716da1ad4443f66068b7494525e681f.tar.gz
talos-hostboot-068d68fdc716da1ad4443f66068b7494525e681f.zip
Add %s string formatting support to trace
Change-Id: I14ea6717dfd8e98895345e86e32e82c637c26289 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/234 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
Diffstat (limited to 'src/include/util')
-rw-r--r--src/include/util/align.H6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/util/align.H b/src/include/util/align.H
new file mode 100644
index 000000000..3edbff09a
--- /dev/null
+++ b/src/include/util/align.H
@@ -0,0 +1,6 @@
+#ifndef __UTIL_ALIGN_H
+#define __UTIL_ALIGN_H
+
+#define ALIGN_4(u) ((u + 0x3ull) & ~0x3ull)
+
+#endif
OpenPOWER on IntegriCloud