diff options
Diffstat (limited to 'include/asm-xtensa/coprocessor.h')
-rw-r--r-- | include/asm-xtensa/coprocessor.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-xtensa/coprocessor.h b/include/asm-xtensa/coprocessor.h index 5093034723be..bd09ec02d57f 100644 --- a/include/asm-xtensa/coprocessor.h +++ b/include/asm-xtensa/coprocessor.h | |||
@@ -11,7 +11,16 @@ | |||
11 | #ifndef _XTENSA_COPROCESSOR_H | 11 | #ifndef _XTENSA_COPROCESSOR_H |
12 | #define _XTENSA_COPROCESSOR_H | 12 | #define _XTENSA_COPROCESSOR_H |
13 | 13 | ||
14 | #include <xtensa/config/core.h> | 14 | #include <asm/variant/core.h> |
15 | #include <asm/variant/tie.h> | ||
16 | |||
17 | #if !XCHAL_HAVE_CP | ||
18 | |||
19 | #define XTENSA_CP_EXTRA_OFFSET 0 | ||
20 | #define XTENSA_CP_EXTRA_ALIGN 1 /* must be a power of 2 */ | ||
21 | #define XTENSA_CP_EXTRA_SIZE 0 | ||
22 | |||
23 | #else | ||
15 | 24 | ||
16 | #define XTOFS(last_start,last_size,align) \ | 25 | #define XTOFS(last_start,last_size,align) \ |
17 | ((last_start+last_size+align-1) & -align) | 26 | ((last_start+last_size+align-1) & -align) |
@@ -67,4 +76,6 @@ extern void save_coprocessor_registers(void*, int); | |||
67 | # endif | 76 | # endif |
68 | #endif | 77 | #endif |
69 | 78 | ||
79 | #endif | ||
80 | |||
70 | #endif /* _XTENSA_COPROCESSOR_H */ | 81 | #endif /* _XTENSA_COPROCESSOR_H */ |