1 /* $Id: div64.h,v 1.1 2000/01/28 23:18:43 ralf Exp $
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 */
7 #ifndef _ASM_DIV64_H
8 #define _ASM_DIV64_H
9
10 /*
11 * Hey, we're already 64-bit, no
12 * need to play games..
13 */
14 #define do_div(n,base) ({ \
15 int __res; \
16 __res = ((unsigned long) n) % (unsigned) base; \
17 n = ((unsigned long) n) / (unsigned) base; \
18 __res; })
19
20 #endif /* _ASM_DIV64_H */
21
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.