summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-08-17 17:20:13 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-08-17 17:20:13 +0000
commitf2f6820c3f01810a4da5a8bb4e43119ef2a3fcb6 (patch)
tree8460383a720e192904bfce79d24897a22bb129ff /fb
parentad7f2fc67376f4fbfe81047273de12f7926f0b17 (diff)
Wed Aug 17 13:13:00 2005 Søren Sandmann <sandmann@redhat.com>
Make asm labels local. Bug 4073, patch from Diego Pettenò.
Diffstat (limited to 'fb')
-rw-r--r--fb/fbmmx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fb/fbmmx.c b/fb/fbmmx.c
index a0a7656e2..15cb5d508 100644
--- a/fb/fbmmx.c
+++ b/fb/fbmmx.c
@@ -2315,7 +2315,7 @@ static unsigned int detectCPUFeatures(void) {
"pop %%eax\n"
"mov $0x0, %%edx\n"
"xor %%ebx, %%eax\n"
- "jz skip\n"
+ "jz 1\n"
"mov $0x00000000, %%eax\n"
"cpuid\n"
@@ -2324,7 +2324,7 @@ static unsigned int detectCPUFeatures(void) {
"mov %%ecx, %3\n"
"mov $0x00000001, %%eax\n"
"cpuid\n"
- "skip:\n"
+ "1:\n"
"pop %%ebx\n"
"mov %%edx, %0\n"
: "=r" (result),
@@ -2355,10 +2355,10 @@ static unsigned int detectCPUFeatures(void) {
"cpuid\n"
"xor %%edx, %%edx\n"
"cmp $0x1, %%eax\n"
- "jge skip2\n"
+ "jge 2\n"
"mov $0x80000001, %%eax\n"
"cpuid\n"
- "skip2:\n"
+ "2:\n"
"mov %%edx, %0\n"
"pop %%ebx\n"
: "=r" (result)