diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-05 09:03:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-05 09:03:52 -0700 |
| commit | d9cee5d4f66ef36f69b0108dedbad7f7009bb6a8 (patch) | |
| tree | 14dcf7cb49a884de4b5c55c5757f935c12462719 /include/linux/compiler-intel.h | |
| parent | c02d7da3dd00cb32b58d9c87240456e19eebcc42 (diff) | |
| parent | f440c4ee3e53f767974fe60bcbc0b6687a5fb53f (diff) | |
| download | lwn-d9cee5d4f66ef36f69b0108dedbad7f7009bb6a8.tar.gz lwn-d9cee5d4f66ef36f69b0108dedbad7f7009bb6a8.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu:
"This fixes a build problem with bcm63xx and yet another fix to the
memzero_explicit function to ensure that the memset is not elided"
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
hwrng: bcm63xx - Fix driver compilation
lib: make memzero_explicit more robust against dead store elimination
Diffstat (limited to 'include/linux/compiler-intel.h')
| -rw-r--r-- | include/linux/compiler-intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/compiler-intel.h b/include/linux/compiler-intel.h index ba147a1727e6..0c9a2f2c2802 100644 --- a/include/linux/compiler-intel.h +++ b/include/linux/compiler-intel.h @@ -13,9 +13,12 @@ /* Intel ECC compiler doesn't support gcc specific asm stmts. * It uses intrinsics to do the equivalent things. */ +#undef barrier_data #undef RELOC_HIDE #undef OPTIMIZER_HIDE_VAR +#define barrier_data(ptr) barrier() + #define RELOC_HIDE(ptr, off) \ ({ unsigned long __ptr; \ __ptr = (unsigned long) (ptr); \ |
