summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/include/asm.h
blob: 4be5d0e3fced8aacf42f73c4c631a2abdff36459 (plain)
1
2
3
4
5
6
7
8
9
10
/*	$OpenBSD: asm.h,v 1.4 2010/09/11 11:29:50 syuu Exp $ */

#ifdef MULTIPROCESSOR
#define HW_GET_CPU_INFO(ci, tmp)	\
	LOAD_XKPHYS(ci, CCA_CACHED);	\
	mfc0	tmp, COP_0_LLADDR;	\
	or	ci, ci, tmp
#endif

#include <mips64/asm.h>