Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4006016ioo; Wed, 25 May 2022 12:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySxfcnkyJpBbz6DfYWq93V10k91pQc1a3lg/dgNOGucPWeXMpWe9KBRKlSVzqdyR6osxbd X-Received: by 2002:a17:90b:1c05:b0:1e0:bda1:d8c7 with SMTP id oc5-20020a17090b1c0500b001e0bda1d8c7mr3200478pjb.90.1653507600344; Wed, 25 May 2022 12:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653507600; cv=none; d=google.com; s=arc-20160816; b=Qv+/i3b5Y9GCIbHNZGODnt8ayStYpnOiNDvTK8sN7Q97np+g00TWhwL4kHgMyQrnfX obXLSyYKWg3nuX7rUfbZWQVUOBPAss9lSvuZMv0K7HmUIf1u+BNO8P6YNEN/En3d83gU 6MO77FyWjBEffr8dImnn7sVHW7phLXk2MFTfNRh7vflSkcwuF2OBVQSdp4juqQva0How kq0I76aHUPUY2OhzcFM/YjCjQF0RWrUL0oW0w0qtCnxLnf7cZoKOl8iwjq5DmJXyJxxZ yFq1uosLmX1BJ3PVxWFHABC6v4KG/aB6gSuOMiya5p97+orCfuQNXEKF9bcPNRJux7kG pukw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=d2ROPIG0zhhVWpTicjt9qEt5M87Uvd7LftCzoD5SkXc=; b=NCuqEGGHy/1EB7sIAdHQGfQE8BMf+k+BPBsktAWd5nq1oowNVeT6/VPGDbjmu958Od RnxlleJg9uS9NNxRRSR7wIA6N+E1A+lvgN8WhcMprkVtMCQEe1x8BM4VVfz7OUpNkot7 PCChzO7qEQkSNwqSgpBFWNduHUnd8nMyw5JnrLCcBTHKHIxtcEP4UhZt9yz/CSjNwyZ7 ZyWXyUSmC1oELmDaGALwtxXCVWNg6vCHUiEF+HcZjSGXGpNbHkSXfh3vsms8uGqBBmIq Mul49Z/pInJjDyMGntH8ywBLwWiLP/KIQ2U+7D42ATGFM5ZXhabr/iJug0653StVz0El vCDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NoPiz+nV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a170902ea0700b0015852e64a54si18485349plg.278.2022.05.25.12.39.43; Wed, 25 May 2022 12:40:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NoPiz+nV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237341AbiEYOso (ORCPT + 99 others); Wed, 25 May 2022 10:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232055AbiEYOsj (ORCPT ); Wed, 25 May 2022 10:48:39 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E036CF41 for ; Wed, 25 May 2022 07:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653490116; x=1685026116; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=I1J/xn+4QP1J2xa1QkYks2VmwD45ljeamgIxezfJlWI=; b=NoPiz+nVPfaYsVgP2u9pZmwfi3ktIqtFLwmk6m+mD3Eunt/39czXE2Lb LTq28lIpRc7avcANC5EBQVzB7JNqSye/ftZXGi9NRVb56Z52ryrq7XIIj y0k09zfMYYg3vttb62LCrG21mETSMDam31WptT9D3X14uNrCnUSJ0gaLd GwWnVb6MfEgofOK4iZVGZ63w6M0b5VAuMu+AHrc38TZKhTYotS8kX2Npg HL6QNrgpIHAPEHbN9bJ0GpP90AzFy/1XBYACVmBccpw59u1tFZFMMZ5v8 jobIaJ6aiKw8nMlp5oGyn2tRNLPo1UQt4Gt60RAkwVIZMSHEWHKV/qAbx A==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="253703386" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="253703386" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 07:48:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="549050137" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga006.jf.intel.com with ESMTP; 25 May 2022 07:48:33 -0700 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= To: Vineet Gupta , Geert Uytterhoeven Cc: linux-snps-arc@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Subject: [PATCH 0/2] bitops: __fls adjustments Date: Wed, 25 May 2022 16:48:42 +0200 Message-Id: <20220525144844.1571705-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Apparently on few architectures __fls is defined incorrectly. Fix this by adjusting declarations to asm-generic ones. As far as I can tell there should be no functional changes, but I don't have devices to test it, so it was only compile tested. Amadeusz Sławiński (2): ARC: bitops: Change __fls to return unsigned long m68k: bitops: Change __fls to return and accept unsigned long arch/arc/include/asm/bitops.h | 2 +- arch/m68k/include/asm/bitops.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1