diff options
Diffstat (limited to 'lib/libdisk/rules.c')
-rw-r--r-- | lib/libdisk/rules.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c index a6a2255..87846c9 100644 --- a/lib/libdisk/rules.c +++ b/lib/libdisk/rules.c @@ -233,15 +233,18 @@ Rule_004(const struct disk *d, const struct chunk *c, char *msg) static void Check_Chunk(const struct disk *d, const struct chunk *c, char *msg) { - Rule_000(d, c, msg); - Rule_001(d, c, msg); - Rule_002(d, c, msg); - Rule_003(d, c, msg); - Rule_004(d, c, msg); - if (c->part) - Check_Chunk(d, c->part, msg); - if (c->next) - Check_Chunk(d, c->next, msg); + + if (platform == p_i386) { + Rule_000(d, c, msg); + Rule_001(d, c, msg); + Rule_002(d, c, msg); + Rule_003(d, c, msg); + Rule_004(d, c, msg); + if (c->part) + Check_Chunk(d, c->part, msg); + if (c->next) + Check_Chunk(d, c->next, msg); + } } char * |