From patchwork Tue Jul 5 07:43:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ammar Faizi X-Patchwork-Id: 12906041 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9880DC43334 for ; Tue, 5 Jul 2022 07:45:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbiGEHp3 (ORCPT ); Tue, 5 Jul 2022 03:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiGEHp3 (ORCPT ); Tue, 5 Jul 2022 03:45:29 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C80D813D68 for ; Tue, 5 Jul 2022 00:45:27 -0700 (PDT) Received: from integral2.. (unknown [36.81.65.188]) by gnuweeb.org (Postfix) with ESMTPSA id EA156804C1; Tue, 5 Jul 2022 07:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1657007127; bh=FveaZGALRuvhoMHrWSZliK1bwLSB96JV/GOf2wakANQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OrVHtYzN+AlaSdrl+GeRJxqUFlbyI1PlNf6Hmed8Eyv/x5bpO/GECCkkkUuJAx4SR Gx7WlucApcMDsNgzQKnnauIaGOaG2Xlir2ud1liPZRb/O6NeQYo5RjYZyE2X0qKbAa VvFhgHD5TwsyZwwkG30Su4B085K679t2QQTBEvpu5zbOgXoXu4Yu66Y1yjw2qUf6d4 da/+ho/auew/81BtqlNKGDC5BInrOlW4vtSzSFALvMDTYbFcOs3Z/3fhzdorFepK++ zMvMYf2Yat8XeVaXXqNSUny/AHOEB4yMUeoDn9fHE6yXlbdCCx+lucUDLSpyL+iVKD 27jm2/4Ic6ghA== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Alviro Iskandar Setiawan , Fernanda Ma'rouf , Hao Xu , Pavel Begunkov , io-uring Mailing List , GNU/Weeb Mailing List Subject: [PATCH liburing v5 07/10] lib: Enable nolibc support for aarch64 Date: Tue, 5 Jul 2022 14:43:57 +0700 Message-Id: <20220705073920.367794-8-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705073920.367794-1-ammar.faizi@intel.com> References: <20220705073920.367794-1-ammar.faizi@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org From: Ammar Faizi A previous patch adds get_page_size() function which is the missing bit for aarch64 nolibc support. Now we have a full set of functions to enable nolibc build support for aarch64. Signed-off-by: Ammar Faizi --- src/lib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.h b/src/lib.h index a966c77..f347191 100644 --- a/src/lib.h +++ b/src/lib.h @@ -8,6 +8,8 @@ #if defined(__x86_64__) || defined(__i386__) #include "arch/x86/lib.h" +#elif defined(__aarch64__) +#include "arch/aarch64/lib.h" #else /* * We don't have nolibc support for this arch. Must use libc!