ia64/xen-unstable
changeset 4578:1dd9ce40afca
bitkeeper revision 1.1327.1.2 (426537ceqse6CIeqDSkO2xQvN7gUvg)
Adapt to change in x86
Adapt to change in x86
author | djm@sportsman.spdomain |
---|---|
date | Tue Apr 19 16:54:38 2005 +0000 (2005-04-19) |
parents | 58efb3448933 |
children | 4c8e326f875e |
files | xen/include/asm-ia64/config.h |
line diff
1.1 --- a/xen/include/asm-ia64/config.h Tue Apr 19 16:50:26 2005 +0000 1.2 +++ b/xen/include/asm-ia64/config.h Tue Apr 19 16:54:38 2005 +0000 1.3 @@ -203,7 +203,7 @@ void sort_main_extable(void); 1.4 #define find_first_set_bit(x) (ffs(x)-1) // FIXME: Is this right??? 1.5 1.6 // from include/asm-x86/*/uaccess.h 1.7 -#define array_access_ok(type,addr,count,size) \ 1.8 +#define array_access_ok(addr,count,size) \ 1.9 (likely(sizeof(count) <= 4) /* disallow 64-bit counts */ && \ 1.10 access_ok(type,addr,count*size)) 1.11