summaryrefslogtreecommitdiffstats
path: root/fs/adfs/map.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
commit482368b1a8e45430672c58c9a42e7d2004367126 (patch)
treece2a1a567d4d62dee7c2e71a46a99cf72cf1d606 /fs/adfs/map.c
parente4d0251c6f56ab2e191afb70f80f382793e23f74 (diff)
Merge with 2.3.47. Guys, this is buggy as shit. You've been warned.
Diffstat (limited to 'fs/adfs/map.c')
-rw-r--r--fs/adfs/map.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/adfs/map.c b/fs/adfs/map.c
index 0fde11f5d..0c6507411 100644
--- a/fs/adfs/map.c
+++ b/fs/adfs/map.c
@@ -44,7 +44,6 @@ lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen,
/*
* get fragment id
*/
- //asm("@ get fragment id start");
{
unsigned long v2;
unsigned int tmp;
@@ -60,14 +59,12 @@ lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen,
frag &= idmask;
}
- //asm("@ get fragment id end");
mapptr = start + idlen;
/*
* find end of fragment
*/
- //asm("@ find end of fragment start");
{
unsigned long v2;
@@ -79,7 +76,6 @@ lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen,
mapptr += 1 + ffz(~v2);
}
- //asm("@ find end of fragment end");
if (frag == frag_id)
goto found;
@@ -122,7 +118,6 @@ scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
/*
* get fragment id
*/
- //asm("@ get fragment id start");
{
unsigned long v2;
unsigned int tmp;
@@ -138,7 +133,6 @@ scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
frag &= idmask;
}
- //asm("@ get fragment id end");
/*
* If the freelink is null, then no free fragments
@@ -153,7 +147,6 @@ scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
/*
* get fragment id
*/
- //asm("@ get fragment id start");
{
unsigned long v2;
unsigned int tmp;
@@ -169,14 +162,12 @@ scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
frag &= idmask;
}
- //asm("@ get fragment id end");
mapptr = start + idlen;
/*
* find end of fragment
*/
- //asm("@ find end of fragment start");
{
unsigned long v2;
@@ -188,7 +179,6 @@ scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm)
mapptr += 1 + ffz(~v2);
}
- //asm("@ find end of fragment end");
total += mapptr - start;
} while (frag >= idlen + 1);