time.c (db985cbd67c45f875ef43cb5febfaa8cbd203c27) | time.c (e1802b065d189cdfa25eaf6d019c222a91618b9c) |
---|---|
1/* 2 * Common time routines among all ppc machines. 3 * 4 * Written by Cort Dougan (cort@cs.nmt.edu) to merge 5 * Paul Mackerras' version and mine for PReP and Pmac. 6 * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). 7 * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) 8 * --- 1010 unchanged lines hidden (view full) --- 1019 /* Days are what is left over (+1) from all that. */ 1020 tm->tm_mday = day + 1; 1021 1022 /* 1023 * Determine the day of week 1024 */ 1025 GregorianDay(tm); 1026} | 1/* 2 * Common time routines among all ppc machines. 3 * 4 * Written by Cort Dougan (cort@cs.nmt.edu) to merge 5 * Paul Mackerras' version and mine for PReP and Pmac. 6 * MPC8xx/MBX changes by Dan Malek (dmalek@jlc.net). 7 * Converted for 64-bit by Mike Corrigan (mikejc@us.ibm.com) 8 * --- 1010 unchanged lines hidden (view full) --- 1019 /* Days are what is left over (+1) from all that. */ 1020 tm->tm_mday = day + 1; 1021 1022 /* 1023 * Determine the day of week 1024 */ 1025 GregorianDay(tm); 1026} |
1027EXPORT_SYMBOL(to_tm); |
|
1027 1028/* 1029 * Divide a 128-bit dividend by a 32-bit divisor, leaving a 128 bit 1030 * result. 1031 */ 1032void div128_by_32(u64 dividend_high, u64 dividend_low, 1033 unsigned divisor, struct div_result *dr) 1034{ --- 48 unchanged lines hidden --- | 1028 1029/* 1030 * Divide a 128-bit dividend by a 32-bit divisor, leaving a 128 bit 1031 * result. 1032 */ 1033void div128_by_32(u64 dividend_high, u64 dividend_low, 1034 unsigned divisor, struct div_result *dr) 1035{ --- 48 unchanged lines hidden --- |