4 /* Copyright 2001 PPC64 Team, IBM Corp
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #define do_div(n,base) ({ \
14 __res = ((unsigned long) (n)) % (unsigned) (base); \
15 (n) = ((unsigned long) (n)) / (unsigned) (base); \