summaryrefslogtreecommitdiff
path: root/lib/mpi/generic_mpi-asm-defs.h
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2012-01-09 05:16:48 +0400
committerJames Morris <jmorris@namei.org>2012-01-09 05:16:48 +0400
commit8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8 (patch)
treea118eaef15d4ba22247f45ee01537ecc906cd161 /lib/mpi/generic_mpi-asm-defs.h
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff)
parent7b7e5916aa2f46e57f8bd8cb89c34620ebfda5da (diff)
downloadlinux-8fcc99549522fc7a0bbaeb5755855ab0d9a59ce8.tar.xz
Merge branch 'next' into for-linus
Conflicts: security/integrity/evm/evm_crypto.c Resolved upstream fix vs. next conflict manually. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/mpi/generic_mpi-asm-defs.h')
-rw-r--r--lib/mpi/generic_mpi-asm-defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mpi/generic_mpi-asm-defs.h b/lib/mpi/generic_mpi-asm-defs.h
new file mode 100644
index 000000000000..047d1f5a7249
--- /dev/null
+++ b/lib/mpi/generic_mpi-asm-defs.h
@@ -0,0 +1,4 @@
+/* This file defines some basic constants for the MPI machinery. We
+ * need to define the types on a per-CPU basis, so it is done with
+ * this file here. */
+#define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG)