summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/processor.h
blob: 4af69190b7371362170949ebacab88aeef6b0d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASM_M68K_PROCESSOR_H
#define __ASM_M68K_PROCESSOR_H

#include <asm/ptrace.h>
#include <asm/types.h>

#define _GLOBAL(n)\
	.globl n;\
n:

/* Macros for setting and retrieving special purpose registers */
#define setvbr(v)	asm volatile("movec %0,%%VBR" : : "r" (v))

#endif /* __ASM_M68K_PROCESSOR_H */