diff options
Diffstat (limited to 'arch/blackfin/include/asm/bfin-global.h')
-rw-r--r-- | arch/blackfin/include/asm/bfin-global.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h index 10064f902d20..e6485c305ea6 100644 --- a/arch/blackfin/include/asm/bfin-global.h +++ b/arch/blackfin/include/asm/bfin-global.h | |||
@@ -11,9 +11,6 @@ | |||
11 | 11 | ||
12 | #ifndef __ASSEMBLY__ | 12 | #ifndef __ASSEMBLY__ |
13 | 13 | ||
14 | #include <asm/sections.h> | ||
15 | #include <asm/ptrace.h> | ||
16 | #include <asm/user.h> | ||
17 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
18 | #include <linux/types.h> | 15 | #include <linux/types.h> |
19 | 16 | ||
@@ -23,6 +20,12 @@ | |||
23 | # define DMA_UNCACHED_REGION (2 * 1024 * 1024) | 20 | # define DMA_UNCACHED_REGION (2 * 1024 * 1024) |
24 | #elif defined(CONFIG_DMA_UNCACHED_1M) | 21 | #elif defined(CONFIG_DMA_UNCACHED_1M) |
25 | # define DMA_UNCACHED_REGION (1024 * 1024) | 22 | # define DMA_UNCACHED_REGION (1024 * 1024) |
23 | #elif defined(CONFIG_DMA_UNCACHED_512K) | ||
24 | # define DMA_UNCACHED_REGION (512 * 1024) | ||
25 | #elif defined(CONFIG_DMA_UNCACHED_256K) | ||
26 | # define DMA_UNCACHED_REGION (256 * 1024) | ||
27 | #elif defined(CONFIG_DMA_UNCACHED_128K) | ||
28 | # define DMA_UNCACHED_REGION (128 * 1024) | ||
26 | #else | 29 | #else |
27 | # define DMA_UNCACHED_REGION (0) | 30 | # define DMA_UNCACHED_REGION (0) |
28 | #endif | 31 | #endif |
@@ -35,6 +38,7 @@ extern unsigned long get_sclk(void); | |||
35 | extern unsigned long sclk_to_usecs(unsigned long sclk); | 38 | extern unsigned long sclk_to_usecs(unsigned long sclk); |
36 | extern unsigned long usecs_to_sclk(unsigned long usecs); | 39 | extern unsigned long usecs_to_sclk(unsigned long usecs); |
37 | 40 | ||
41 | struct pt_regs; | ||
38 | extern void dump_bfin_process(struct pt_regs *regs); | 42 | extern void dump_bfin_process(struct pt_regs *regs); |
39 | extern void dump_bfin_mem(struct pt_regs *regs); | 43 | extern void dump_bfin_mem(struct pt_regs *regs); |
40 | extern void dump_bfin_trace_buffer(void); | 44 | extern void dump_bfin_trace_buffer(void); |