summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/smp.h
blob: 354bf92be3c943aa6f97bae3fe9dd2f6498ad44d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* Public domain. */

#ifndef _LINUX_SMP_H
#define _LINUX_SMP_H

/* sparc64 cpu.h needs time.h and siginfo.h (indirect via param.h) */
#include <sys/param.h>
#include <machine/cpu.h>

#define smp_processor_id()	(curcpu()->ci_cpuid)

#endif