From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751506AbbCBGCP (ORCPT ); Mon, 2 Mar 2015 01:02:15 -0500 Received: from linuxhacker.ru ([217.76.32.60]:46662 "EHLO fiona.linuxhacker.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750834AbbCBGCJ (ORCPT ); Mon, 2 Mar 2015 01:02:09 -0500 From: green@linuxhacker.ru To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger Cc: Linux Kernel Mailing List , Oleg Drokin Subject: [PATCH 0/2] Lustre: get rid of deprecated cpumask calls Date: Mon, 2 Mar 2015 01:01:45 -0500 Message-Id: <1425276107-15543-1-git-send-email-green@linuxhacker.ru> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oleg Drokin A recent crash report with CONFIG_CPUMASK_OFFSTACK enabled set off a chain of emails through which I learned that cpus_* functions are deprecated and should not be really used to operate on cpumasks. These two patches do just that, replacing cpus_* and cpu_* calls with cpumask_ equivalents, getting rid of a sizable number or NR_CPUS references please consider. Oleg Drokin (2): staging/lustre/ptlrpc: Do not use deprecated cpus_* functions staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_ .../staging/lustre/lustre/libcfs/linux/linux-cpu.c | 78 +++++++++++----------- drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c | 8 +-- drivers/staging/lustre/lustre/ptlrpc/service.c | 9 +-- 3 files changed, 46 insertions(+), 49 deletions(-) -- 2.1.0