Skip to content
  • Daiki Ueno's avatar
    x86: flip polarity of check_fast_pclmul · 83ac883f
    Daiki Ueno authored
    
    
    Otherwise GCC produces the following warnings as the stub
    __get_cpuid() is defined as '#define __get_cpuid(...) 0':
    
    x86-common.c: In function 'register_x86_crypto':
    x86-common.c:314:15: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
      314 |  family = ((a >> 8) & 0x0F);
          |            ~~~^~~~~
    x86-common.c:308:15: note: 'a' was declared here
      308 |  unsigned int a,b,c,d;
          |               ^
    
    Signed-off-by: Daiki Ueno's avatarDaiki Ueno <ueno@gnu.org>
    83ac883f