summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/fpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/fpu.h')
-rw-r--r--arch/alpha/include/asm/fpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/fpu.h b/arch/alpha/include/asm/fpu.h
index db00f7885faa..e477bcd5b94a 100644
--- a/arch/alpha/include/asm/fpu.h
+++ b/arch/alpha/include/asm/fpu.h
@@ -1,7 +1,9 @@
#ifndef __ASM_ALPHA_FPU_H
#define __ASM_ALPHA_FPU_H
+#ifdef __KERNEL__
#include <asm/special_insns.h>
+#endif
/*
* Alpha floating-point control register defines: