All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
To: util-linux@vger.kernel.org
Cc: linaro-dev@lists.linaro.org
Subject: Add AArch64 support into util-linux
Date: Wed, 03 Oct 2012 10:31:19 +0100	[thread overview]
Message-ID: <506C05E7.50400@linaro.org> (raw)

[-- 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

             reply	other threads:[~2012-10-03  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03  9:31 Marcin Juszkiewicz [this message]
2012-10-03 10:21 ` Add AArch64 support into util-linux Wookey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=506C05E7.50400@linaro.org \
    --to=marcin.juszkiewicz@linaro.org \
    --cc=linaro-dev@lists.linaro.org \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.