From: Wei Liu Subject: Re: [PATCH v6 8/8] xenalyze: remove unused private cpumask_t Date: Fri, 12 Jun 2015 17:49:10 +0100 Message-ID: <20150612164910.GD14606@zion.uk.xensource.com> References: <1434040245-22195-1-git-send-email-olaf@aepfle.de> <1434040245-22195-9-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1434040245-22195-9-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Wei Liu , Ian Campbell , Stefano Stabellini , George Dunlap , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Jun 11, 2015 at 04:30:45PM +0000, Olaf Hering wrote: > Signed-off-by: Olaf Hering > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/xentrace/analyze.h | 13 ------------- > 1 file changed, 13 deletions(-) > > diff --git a/tools/xentrace/analyze.h b/tools/xentrace/analyze.h > index 40ee551..9b3651a 100644 > --- a/tools/xentrace/analyze.h > +++ b/tools/xentrace/analyze.h > @@ -16,19 +16,6 @@ > > #define TRC_LOST_RECORDS_END (TRC_GEN + 50) > > -#define NR_CPUS 128 > -#if __x86_64__ > -# define BITS_PER_LONG 64 > -#else > -# define BITS_PER_LONG 32 > -#endif > - > -#define BITS_TO_LONGS(bits) \ > - (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG) > -#define DECLARE_BITMAP(name,bits) \ > - unsigned long name[BITS_TO_LONGS(bits)] > -typedef struct cpumask{ DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; > - > enum { > TRCE_SFLAG_SET_AD, > TRCE_SFLAG_SET_A, > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel