summaryrefslogtreecommitdiffstats
path: root/recipes-core/util-linux/files/microblaze-fixes.patch
blob: 1bac8ea29ab7b61a5befe022b5d0c020885a9c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Upstream-Status: Not-submitted [Needs verification]
---
diff a/fdisks/fdiskbsdlabel.h b/fdisks/fdiskbsdlabel.h
--- a/fdisks/fdiskbsdlabel.h
+++ b/fdisks/fdiskbsdlabel.h
@@ -55,7 +55,7 @@
 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
 #define BSD_LABELSECTOR   0
 #define BSD_LABELOFFSET   64
-#elif defined (__s390__) || defined (__s390x__)
+#elif defined (__s390__) || defined (__s390x__) || defined (__microblaze__) || defined (__microblazeel__)
 #define BSD_LABELSECTOR   1
 #define BSD_LABELOFFSET   0
 #else