aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-09 16:32:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-09 16:32:09 -0700
commitbb170715538cc6c8806fcec20e6ca0d3f7267468 (patch)
tree58ed3c7a7d7e23701fed06677de54b863b1143de /memdisk
parent012d53b0453ac7a5ec03fb802434fe64e6f85bf5 (diff)
downloadsyslinux.git-bb170715538cc6c8806fcec20e6ca0d3f7267468.tar.gz
syslinux.git-bb170715538cc6c8806fcec20e6ca0d3f7267468.tar.xz
syslinux.git-bb170715538cc6c8806fcec20e6ca0d3f7267468.zip
Whitespace cleanup
Diffstat (limited to 'memdisk')
-rwxr-xr-xmemdisk/fdgeo.pl1
-rw-r--r--memdisk/memcpy.S2
-rw-r--r--memdisk/memset.S2
-rw-r--r--memdisk/setup.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/memdisk/fdgeo.pl b/memdisk/fdgeo.pl
index 47d19afa..eafef761 100755
--- a/memdisk/fdgeo.pl
+++ b/memdisk/fdgeo.pl
@@ -51,4 +51,3 @@ if ($ok) {
} else {
print "No valid geometry found (MEMDISK will fake it)\n";
}
-
diff --git a/memdisk/memcpy.S b/memdisk/memcpy.S
index 5f2c4ec7..6b986a0d 100644
--- a/memdisk/memcpy.S
+++ b/memdisk/memcpy.S
@@ -80,7 +80,7 @@ memcpy:
popl %eax /* Return value */
popl %edi
popl %esi
-1:
+1:
ret
.size memcpy, .-memcpy
diff --git a/memdisk/memset.S b/memdisk/memset.S
index 4b2583c3..e641415d 100644
--- a/memdisk/memset.S
+++ b/memdisk/memset.S
@@ -47,7 +47,7 @@ memset:
movzwl %dx,%eax
shll $16,%edx
orl %edx,%eax
-
+
/* Initial alignment */
movl %edi,%edx
shrl $1,%edx
diff --git a/memdisk/setup.c b/memdisk/setup.c
index 4d38598a..ba02582f 100644
--- a/memdisk/setup.c
+++ b/memdisk/setup.c
@@ -434,7 +434,7 @@ const struct geometry *get_disk_image_geometry(uint32_t where, uint32_t size)
}
c++;
track += h;
- }
+ }
if (ok) {
hd_geometry.driveno = 0;
hd_geometry.c = c;