summaryrefslogtreecommitdiff
path: root/linux/src/arch/i386/lib/delay.S
blob: 9d36420e195585a53cb7f17f3ccb3c584e0a47ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <linux/linkage.h>

/*
 * BogoMips loop. Non-inlined because various x86's have so wildly
 * varying results depending on the exact alignment.
 */

ENTRY(__do_delay)
	jmp 1f
.align 16
1:	jmp 2f
.align 16
2:	decl %eax
	jns 2b
	ret