1*22ce4affSfengbojiang /*
2*22ce4affSfengbojiang  *  Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
3*22ce4affSfengbojiang  *  Copyright (C) 2007 The Regents of the University of California.
4*22ce4affSfengbojiang  *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
5*22ce4affSfengbojiang  *  Written by Brian Behlendorf <[email protected]>.
6*22ce4affSfengbojiang  *  UCRL-CODE-235197
7*22ce4affSfengbojiang  *
8*22ce4affSfengbojiang  *  This file is part of the SPL, Solaris Porting Layer.
9*22ce4affSfengbojiang  *
10*22ce4affSfengbojiang  *  The SPL is free software; you can redistribute it and/or modify it
11*22ce4affSfengbojiang  *  under the terms of the GNU General Public License as published by the
12*22ce4affSfengbojiang  *  Free Software Foundation; either version 2 of the License, or (at your
13*22ce4affSfengbojiang  *  option) any later version.
14*22ce4affSfengbojiang  *
15*22ce4affSfengbojiang  *  The SPL is distributed in the hope that it will be useful, but WITHOUT
16*22ce4affSfengbojiang  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17*22ce4affSfengbojiang  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
18*22ce4affSfengbojiang  *  for more details.
19*22ce4affSfengbojiang  *
20*22ce4affSfengbojiang  *  You should have received a copy of the GNU General Public License along
21*22ce4affSfengbojiang  *  with the SPL.  If not, see <http://www.gnu.org/licenses/>.
22*22ce4affSfengbojiang  */
23*22ce4affSfengbojiang 
24*22ce4affSfengbojiang #ifndef	_SPL_PROCESSOR_H
25*22ce4affSfengbojiang #define	_SPL_PROCESSOR_H
26*22ce4affSfengbojiang 
27*22ce4affSfengbojiang #define	getcpuid() smp_processor_id()
28*22ce4affSfengbojiang 
29*22ce4affSfengbojiang typedef int	processorid_t;
30*22ce4affSfengbojiang 
31*22ce4affSfengbojiang #endif /* _SPL_PROCESSOR_H */
32