X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-xtensa%2Fdiv64.h;h=f35678cb0a9b1153cb19bbe109a78d0e5f2b6d2f;hb=0a4908e19fd016d60403fc76cf38b2d08d21e2d2;hp=c4a105776383f74cf480217a4de4b74ff6800e8f;hpb=5d2a22079c825669d91a3a200332f1053b4b61b0;p=powerpc.git diff --git a/include/asm-xtensa/div64.h b/include/asm-xtensa/div64.h index c4a1057763..f35678cb0a 100644 --- a/include/asm-xtensa/div64.h +++ b/include/asm-xtensa/div64.h @@ -5,15 +5,12 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (C) 2001 - 2005 Tensilica Inc. + * Copyright (C) 2001 - 2007 Tensilica Inc. */ #ifndef _XTENSA_DIV64_H #define _XTENSA_DIV64_H -#define do_div(n,base) ({ \ - int __res = n % ((unsigned int) base); \ - n /= (unsigned int) base; \ - __res; }) +#include -#endif +#endif /* _XTENSA_DIV64_H */