]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: add AArch64 support
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Wed, 3 Oct 2012 09:31:19 +0000 (10:31 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Oct 2012 10:13:33 +0000 (12:13 +0200)
Attached patch fixed build problem when util-linux is built for AArch64
architecture.

fdisks/fdiskbsdlabel.h

index ab6877eaac41ddc4d3760b0d855b4e07f77ac721..c7cc818b1c16a7ad974b5b3d1942a5ddca9e1deb 100644 (file)
@@ -48,6 +48,7 @@
 
 #if defined (__i386__) || defined (__sparc__) || defined (__arm__) || \
     defined (__mips__) || defined (__s390__) || defined (__sh__) || \
+    defined (__aarch64__) || \
     defined(__x86_64__) || defined (__avr32__) || defined(__cris__)
 #define BSD_LABELSECTOR   1
 #define BSD_LABELOFFSET   0