From patchwork Sat May 3 11:06:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 29605 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f72.google.com (mail-qg0-f72.google.com [209.85.192.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC34B203F3 for ; Sat, 3 May 2014 11:06:45 +0000 (UTC) Received: by mail-qg0-f72.google.com with SMTP id q108sf6246937qgd.11 for ; Sat, 03 May 2014 04:06:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=vQfiXVUpZ4UXRMPKIy4wKQbrPm0f+iiey4uyjGQdXzY=; b=LP1AoJBWSMXlo1kkrA8MwVoI2mco6Jc2RZfxIUxc3pz6Z958Bz3mBxSpZK16qBvrd1 EWHGSo16BBKZ1iUV8mLAF0v/HMKcYKuBT98CC1pMlwFG4ZaqMbRmPS3knwPqDa4XQqeu TLMD2h91fVb5hKQ0xZW6J1h7wUO2jqhAXdmBtdw4NHkwTfOKkxoKAMhsW4PJ4/0tVbyd SmOcSQfgekNO7hcLihkgEuOVJiBEiBxlWxrfN6L6nBa4tZrzyY8Nzo/D4hXHjjd/QPXT urT9ZVFZGCri1lTo7ttYCqgFGzpSoobX64tzPHRbabHjwYqZERCFljS2WPn9N/YRkNXE a0lg== X-Gm-Message-State: ALoCoQlt2WJmVP/p3DuiLjJwNwmuNWNF4V6lJW8mfedtaiAUiHXFTJqOELyokqq4MBk2uosXnOuc X-Received: by 10.58.195.202 with SMTP id ig10mr12044992vec.38.1399115205340; Sat, 03 May 2014 04:06:45 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.201 with SMTP id z67ls1758058qgd.59.gmail; Sat, 03 May 2014 04:06:45 -0700 (PDT) X-Received: by 10.221.74.200 with SMTP id yx8mr17721464vcb.3.1399115205262; Sat, 03 May 2014 04:06:45 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id wd2si392525veb.5.2014.05.03.04.06.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 May 2014 04:06:45 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id ib6so6450407vcb.5 for ; Sat, 03 May 2014 04:06:45 -0700 (PDT) X-Received: by 10.58.1.97 with SMTP id 1mr18252347vel.23.1399115205179; Sat, 03 May 2014 04:06:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp15147vcb; Sat, 3 May 2014 04:06:44 -0700 (PDT) X-Received: by 10.152.199.39 with SMTP id jh7mr2789908lac.18.1399115204163; Sat, 03 May 2014 04:06:44 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx.google.com with ESMTPS id 5si1154280lan.23.2014.05.03.04.06.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 May 2014 04:06:44 -0700 (PDT) Received-SPF: none (google.com: fathi.boudra@linaro.org does not designate permitted sender hosts) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id u14so1531185lbd.18 for ; Sat, 03 May 2014 04:06:43 -0700 (PDT) X-Received: by 10.112.218.99 with SMTP id pf3mr16691552lbc.5.1399115203425; Sat, 03 May 2014 04:06:43 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id z10sm2162112lbu.1.2014.05.03.04.06.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 May 2014 04:06:42 -0700 (PDT) From: Fathi Boudra To: libhugetlbfs-devel@lists.sourceforge.net Cc: Eric B Munson , Fathi Boudra Subject: [PATCH 1/1] aarch64: fix page size not properly computed Date: Sat, 3 May 2014 14:06:38 +0300 Message-Id: <1399115198-17572-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.9.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There's 2 issues fixed: * typo on MB variable (MB -> $MB) * some linker variants are missing (linux and big endian) - aarch64elfb - aarch64linux - aarch64linuxb Signed-off-by: Fathi Boudra --- ld.hugetlbfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld.hugetlbfs b/ld.hugetlbfs index df446dd..6553547 100755 --- a/ld.hugetlbfs +++ b/ld.hugetlbfs @@ -87,7 +87,7 @@ elf32ppclinux|elf64ppc) HPAGE_SIZE=$((16*$MB)) SLICE_SIZE=$((256*$MB)) ;; elf64lppc) HPAGE_SIZE=$((16*$MB)) SLICE_SIZE=$((256*$MB)) ;; elf_i386|elf_x86_64) HPAGE_SIZE=$((4*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; elf_s390|elf64_s390) HPAGE_SIZE=$((1*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; -armelf_linux_eabi|aarch64elf) HPAGE_SIZE=$((2*MB)) SLICE_SIZE=$HPAGE_SIZE ;; +armelf_linux_eabi|aarch64elf*|aarch64linux*) HPAGE_SIZE=$((2*$MB)) SLICE_SIZE=$HPAGE_SIZE ;; esac if [ "$HTLB_ALIGN" == "slice" ]; then