]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/partitions/mac.c
hwmon: (lm90) Fix handling of hysteresis value
[linux-2.6-omap-h63xx.git] / fs / partitions / mac.c
index 813292f21210d73ffa47f4013fab164743e9a3f9..d4a0fad3563b4bbee00e2155e3210e2b01f0021c 100644 (file)
@@ -6,7 +6,6 @@
  *  Re-organised Feb 1998 Russell King
  */
 
-#include <linux/config.h>
 #include <linux/ctype.h>
 #include "check.h"
 #include "mac.h"
@@ -75,6 +74,8 @@ int mac_partition(struct parsed_partitions *state, struct block_device *bdev)
                        be32_to_cpu(part->start_block) * (secsize/512),
                        be32_to_cpu(part->block_count) * (secsize/512));
 
+               if (!strnicmp(part->type, "Linux_RAID", 10))
+                       state->parts[slot].flags = 1;
 #ifdef CONFIG_PPC_PMAC
                /*
                 * If this is the first bootable partition, tell the