Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 204985
Collapse All | Expand All

(-)linux-2.6.19.ppc/arch/powerpc/kernel/misc_32.S~ (+21 lines)
Lines 728-733 _GLOBAL(__lshrdi3) Link Here
728
	or	r4,r4,r7	# LSW |= t2
728
	or	r4,r4,r7	# LSW |= t2
729
	blr
729
	blr
730
730
731
/*
732
 * __ucmpdi2: 64-bit comparison
733
 *
734
 * R3/R4 has 64 bit value A
735
 * R5/R6 has 64 bit value B
736
 * result in R3: 0 for A < B
737
 *		 1 for A == B
738
 *		 2 for A > B
739
 */
740
_GLOBAL(__ucmpdi2)
741
	cmplw	r7,r3,r5	# compare high words
742
	li	r3,0
743
	blt	r7,2f		# a < b ... return 0
744
	bgt	r7,1f		# a > b ... return 2
745
	cmplw	r6,r4,r6	# compare low words
746
	blt	r6,2f		# a < b ... return 0
747
	li	r3,1
748
	ble	r6,2f		# a = b ... return 1
749
1:	li	r3,2
750
2:	blr
751
731
_GLOBAL(abs)
752
_GLOBAL(abs)
732
	srawi	r4,r3,31
753
	srawi	r4,r3,31
733
	xor	r3,r3,r4
754
	xor	r3,r3,r4
(-)linux-2.6.19.ppc/arch/powerpc/kernel/ppc_ksyms.c~ (+2 lines)
Lines 161-169 EXPORT_SYMBOL(to_tm); Link Here
161
long long __ashrdi3(long long, int);
161
long long __ashrdi3(long long, int);
162
long long __ashldi3(long long, int);
162
long long __ashldi3(long long, int);
163
long long __lshrdi3(long long, int);
163
long long __lshrdi3(long long, int);
164
int __ucmpdi2(uint64_t, uint64_t);
164
EXPORT_SYMBOL(__ashrdi3);
165
EXPORT_SYMBOL(__ashrdi3);
165
EXPORT_SYMBOL(__ashldi3);
166
EXPORT_SYMBOL(__ashldi3);
166
EXPORT_SYMBOL(__lshrdi3);
167
EXPORT_SYMBOL(__lshrdi3);
168
EXPORT_SYMBOL(__ucmpdi2);
167
#endif
169
#endif
168
170
169
EXPORT_SYMBOL(memcpy);
171
EXPORT_SYMBOL(memcpy);
170
172
171
-- 
173
-- 
172
dwmw2
174
dwmw2
173
175
174
-
176
-
175
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
177
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
176
the body of a message to majordomo@vger.kernel.org
178
the body of a message to majordomo@vger.kernel.org
177
More majordomo info at  http://vger.kernel.org/majordomo-info.html
179
More majordomo info at  http://vger.kernel.org/majordomo-info.html
178
Please read the FAQ at  http://www.tux.org/lkml/
180
Please read the FAQ at  http://www.tux.org/lkml/

Return to bug 204985