From nobody Tue Mar 07 16:55:39 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PWM5R51vmz3wMxB; Tue, 7 Mar 2023 16:55:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PWM5R47ZHz4K1N; Tue, 7 Mar 2023 16:55:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678208139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z71O2m1rdn8p7zZppHQoin5Sqbi/lW7A6m6YB8pajQ4=; b=A4luE0RUMoIBDwZzknemS/XVG6b+mgJcggnfLdo+UGpZXjlkiycYfXvbr8vP1toNoBTq4n 4jEuKANBDJ8LAQnzUjzblMi8N83Pa/+b1BiLdY7hU5G6t8fP7+9dnKCvBSUhhj6PH7zlGx UkrHujayijU9Ga+vx3bXZDZU9UqTrYbg0gaopjaYXlVi3MdGV3qRvfeGPBX6kKxUAut+yJ d59vJrxIYdr+g9KRHHdUiuDjVaa+xkXZ5v8lv1bIBNLJ6QWL8OCz59GWwjsiPOilzlFD0I IHapQhvuFmhPSP3soCBSFCp2DWHc/xPhQJu8VtgLYEJ2hksNiwuMsDlehM5fNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678208139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z71O2m1rdn8p7zZppHQoin5Sqbi/lW7A6m6YB8pajQ4=; b=DPkRADZOW5EFgWwY6VVrg/SpASoOfgry7kBix/gyMxzEcZM9Tp9YCeohoDiEgmcuO/uy93 gK3wffSkrEnxsZvKvsy89j0uTo5YVkltz8Pbiz2FDXlAB3lyDow/fHYR8nb2MGcV/ITWoK emAFio1BsrpunCrLvRXICYDY/hzPZdHUUHGMARhkT7jedwivpjYcyVQg65eLuUdzdAisaH jh2U98zrMS9b4ajooKB7mlwVnzaM+2S4f1cM+79yq2OjGYxCLNzgMhXBlgIdC65SqCSL14 uGFgpXkFqWr0qqxUrwZghiR7ZYYAHOAHZ9UwZgCV2mJ14kAzBqH97KUzn6Eiaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678208139; a=rsa-sha256; cv=none; b=BS8sc/1OGxSB/68qVfp4oArmpoXMZu9lkZ6vXFOXQrpH7G9O7NgwLFB1E+V6o2eTR7Qg0v i/s7dzFLlyqOknlZVQtUJNrTJcHQbwFhwMxaiZRTJX7IRvHoVf7XQqmaNVwUrS9eM13LMP yubEHwRU+kqgsPyR6rFJRjNk8X8pfT8TUM41FXqZkGsiOxIBR6uzNVbCt8bmcuKbCErV/F 2+v52jAdwD+RsGYi63vEbAlcLmhNn0F+PWNbDTzS23TMSMImZZTSsO20pZwcWkLUPpYBTF Hs5CJjyVlrwuRete9qHocehpM594OMS/Usit6qiWioK//AjBfjZrrCrqY1SjYA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PWM5R346JzrPZ; Tue, 7 Mar 2023 16:55:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 327Gtd8C022853; Tue, 7 Mar 2023 16:55:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 327Gtd5c022852; Tue, 7 Mar 2023 16:55:39 GMT (envelope-from git) Date: Tue, 7 Mar 2023 16:55:39 GMT Message-Id: <202303071655.327Gtd5c022852@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 3ca605d19b2e - stable/13 - powerpc: remove nexus_get_cpus() List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3ca605d19b2e8a305452d1450d031945881c4578 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=3ca605d19b2e8a305452d1450d031945881c4578 commit 3ca605d19b2e8a305452d1450d031945881c4578 Author: Mitchell Horne AuthorDate: 2023-02-13 17:38:41 +0000 Commit: Mitchell Horne CommitDate: 2023-03-07 15:58:28 +0000 powerpc: remove nexus_get_cpus() It is identical in functionality to root_get_cpus(). Reviewed by: jhibbits MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D38494 (cherry picked from commit 6606096986222bac46e6f97d6ca47fc14978d172) --- sys/powerpc/powerpc/nexus.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/sys/powerpc/powerpc/nexus.c b/sys/powerpc/powerpc/nexus.c index b3fe5a3e1527..1c6bc275ebdd 100644 --- a/sys/powerpc/powerpc/nexus.c +++ b/sys/powerpc/powerpc/nexus.c @@ -77,8 +77,6 @@ static int nexus_unmap_resource(device_t bus, device_t child, int type, struct resource *r, struct resource_map *map); static bus_space_tag_t nexus_get_bus_tag(device_t, device_t); -static int nexus_get_cpus(device_t, device_t, enum cpu_sets, size_t, - cpuset_t *); #ifdef SMP static bus_bind_intr_t nexus_bind_intr; #endif @@ -103,7 +101,6 @@ static device_method_t nexus_methods[] = { #endif DEVMETHOD(bus_config_intr, nexus_config_intr), DEVMETHOD(bus_get_bus_tag, nexus_get_bus_tag), - DEVMETHOD(bus_get_cpus, nexus_get_cpus), /* ofw_bus interface */ DEVMETHOD(ofw_bus_map_intr, nexus_ofw_map_intr), @@ -190,24 +187,6 @@ nexus_get_bus_tag(device_t bus __unused, device_t child __unused) #endif } -static int -nexus_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, - cpuset_t *cpuset) -{ - - switch (op) { -#ifdef SMP - case INTR_CPUS: - if (setsize != sizeof(cpuset_t)) - return (EINVAL); - *cpuset = all_cpus; - return (0); -#endif - default: - return (bus_generic_get_cpus(dev, child, op, setsize, cpuset)); - } -} - #ifdef SMP static int nexus_bind_intr(device_t bus __unused, device_t child __unused,