Use "#define<tab>" consistently.

This commit is contained in:
simonb 2004-03-14 21:12:08 +00:00
parent c68b80b9a5
commit 55965d25ad
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpuset.h,v 1.1 2004/03/14 18:18:54 chs Exp $ */
/* $NetBSD: cpuset.h,v 1.2 2004/03/14 21:12:08 simonb Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@ -34,24 +34,24 @@
*/
#ifndef _SPARC64_CPUSET_H_
#define _SPARC64_CPUSET_H_
#define _SPARC64_CPUSET_H_
typedef uint64_t cpuset_t;
extern __volatile cpuset_t cpus_active;
#define CPUSET_SINGLE(cpu) ((cpuset_t)1 << (cpu))
#define CPUSET_ADD(set, cpu) ((set) |= CPUSET_SINGLE(cpu))
#define CPUSET_ADD(set, cpu) ((set) |= CPUSET_SINGLE(cpu))
#define CPUSET_DEL(set, cpu) ((set) &= ~CPUSET_SINGLE(cpu))
#define CPUSET_SUB(set1, set2) ((set1) &= ~(set2))
#define CPUSET_ALL(set) ((set) = (cpuset_t)-1)
#define CPUSET_ALL_BUT(set, cpu) ((set) = ~CPUSET_SINGLE(cpu))
#define CPUSET_ALL(set) ((set) = (cpuset_t)-1)
#define CPUSET_ALL_BUT(set, cpu) ((set) = ~CPUSET_SINGLE(cpu))
#define CPUSET_HAS(set, cpu) ((set) & CPUSET_SINGLE(cpu))
#define CPUSET_NEXT(set) (ffs(set) - 1)
#define CPUSET_NEXT(set) (ffs(set) - 1)
#define CPUSET_EMPTY(set) ((set) == (cpuset_t)0)
#define CPUSET_EMPTY(set) ((set) == (cpuset_t)0)
#define CPUSET_EQUAL(set1, set2) ((set1) == (set2))
#define CPUSET_CLEAR(set) ((set) = (cpuset_t)0)
#define CPUSET_ASSIGN(set1, set2) ((set1) = (set2))