diff --git a/tests/flush-cache.S b/tests/flush-cache.S index 470d762e..e6cf2c15 100644 --- a/tests/flush-cache.S +++ b/tests/flush-cache.S @@ -1,4 +1,4 @@ -#ifdef __ia64__ +#if defined(__ia64__) .global flush_cache @@ -30,4 +30,14 @@ flush_cache: br.ret.sptk.many rp .endp flush_cache +#elif defined(__i386__) + + .globl flush_cache +flush_cache: + ret + +#elif + +# error Need flush_cache code for this architecture. + #endif