util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add AArch64 support into util-linux
@ 2012-10-03  9:31 Marcin Juszkiewicz
  2012-10-03 10:21 ` Wookey
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Juszkiewicz @ 2012-10-03  9:31 UTC (permalink / raw)
  To: util-linux; +Cc: linaro-dev

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Attached patch fixed build problem when util-linux is built for AArch64
architecture.

[-- Attachment #2: add-aarch64-support.patch --]
[-- Type: text/x-patch, Size: 657 bytes --]

---
 fdisk/fdiskbsdlabel.h |    1 +
 1 file changed, 1 insertion(+)

--- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h
+++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h
@@ -46,10 +46,11 @@
 
 #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
 
 #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
 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
 #define BSD_LABELSECTOR   0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-03 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03  9:31 Add AArch64 support into util-linux Marcin Juszkiewicz
2012-10-03 10:21 ` Wookey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).