Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 175264 | Differences between
and this patch

Collapse All | Expand All

(-)arch/alpha/kernel/sys_titan.c.orig (-1 / +1 lines)
Lines 257-263 Link Here
257
	 */
257
	 */
258
	while (mask) {
258
	while (mask) {
259
		/* convert to SRM vector... priority is <63> -> <0> */
259
		/* convert to SRM vector... priority is <63> -> <0> */
260
		__asm__("ctlz %1, %0" : "=r"(vector) : "r"(mask));
260
		__asm__(".arch ev6;ctlz %1, %0" : "=r"(vector) : "r"(mask));
261
		vector = 63 - vector;
261
		vector = 63 - vector;
262
		mask &= ~(1UL << vector);	/* clear it out 	 */
262
		mask &= ~(1UL << vector);	/* clear it out 	 */
263
		vector = 0x900 + (vector << 4);	/* convert to SRM vector */
263
		vector = 0x900 + (vector << 4);	/* convert to SRM vector */

Return to bug 175264