]> Pileus Git - ~andy/linux/blobdiff - block/partitions/msdos.c
ARM: cacheflush: don't bother rounding to nearest vma
[~andy/linux] / block / partitions / msdos.c
index 9bf19e6fd949db9a7762befd7a454a7526144192..9123f250b425170b325943c351f0c34fac3562ff 100644 (file)
@@ -23,6 +23,7 @@
 #include "check.h"
 #include "msdos.h"
 #include "efi.h"
+#include "aix.h"
 
 /*
  * Many architectures don't like unaligned accesses, while
@@ -462,8 +463,12 @@ int msdos_partition(struct parsed_partitions *state)
         */
        if (aix_magic_present(state, data)) {
                put_dev_sector(sect);
+#ifdef CONFIG_AIX_PARTITION
+               return aix_partition(state);
+#else
                strlcat(state->pp_buf, " [AIX]", PAGE_SIZE);
                return 0;
+#endif
        }
 
        if (!msdos_magic_present(data + 510)) {