diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2005-03-02 21:33:29 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2005-03-02 21:33:29 +0000 |
| commit | a5f50ef9e43b28e15a7e2a2aec73754456619f17 (patch) | |
| tree | 69c98a86a28838e983d8eca9ba158f46450df8c1 /sys/dev/random | |
| parent | f685f62c9869f2c8181041ae3e3d87a09d2d3fbf (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/nehemiah.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c index c0dba9e5da837..9780dbd2755ae 100644 --- a/sys/dev/random/nehemiah.c +++ b/sys/dev/random/nehemiah.c @@ -85,7 +85,7 @@ static union VIA_ACE_CW acw __aligned(16); static __inline size_t VIA_RNG_store(void *buf) { -#if defined(__GNUC__) || defined(__INTEL_COMPILER) +#ifdef __GNUCLIKE_ASM uint32_t retval = 0; uint32_t rate = 0; @@ -107,7 +107,7 @@ VIA_RNG_store(void *buf) static __inline void VIA_ACE_cbc(void *in, void *out, size_t count, void *key, union VIA_ACE_CW *cw, void *iv) { -#if defined(__GNUC__) || defined(__INTEL_COMPILER) +#ifdef __GNUCLIKE_ASM /* The .byte line is really VIA C3 "xcrypt-cbc" instruction */ __asm __volatile( "pushf \n\t" |
