x86_variable_test_bit: don't remove const qualifier unnecessarily.

This commit is contained in:
yamt 2005-05-31 04:34:53 +00:00
parent dfa84069f5
commit 3a00578853
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: xen.h,v 1.12 2005/04/11 12:10:31 yamt Exp $ */ /* $NetBSD: xen.h,v 1.13 2005/05/31 04:34:53 yamt Exp $ */
/* /*
* *
@ -224,7 +224,7 @@ x86_variable_test_bit(const volatile void *ptr, int bitno)
"btl %2,%1 ;" "btl %2,%1 ;"
"sbbl %0,%0" "sbbl %0,%0"
:"=r" (result) :"=r" (result)
:"m" (*(volatile uint32_t *)(ptr)), "Ir" (bitno)); :"m" (*(const volatile uint32_t *)(ptr)), "Ir" (bitno));
return result; return result;
} }