File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#define COMMAND_LINE_SIZE 256
16
16
17
- # ifndef __ASSEMBLY__
18
-
19
- # endif /* __ASSEMBLY__ */
20
17
#endif /* _UAPI_ASM_MICROBLAZE_SETUP_H */
Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ static int show_cpuinfo(struct seq_file *m, void *v)
66
66
" MSR:\t\t%s\n"
67
67
" PCMP:\t\t%s\n"
68
68
" DIV:\t\t%s\n" ,
69
- (cpuinfo .use_instr & PVR0_USE_BARREL_MASK ) ? "yes" : "no" ,
70
- (cpuinfo .use_instr & PVR2_USE_MSR_INSTR ) ? "yes" : "no" ,
71
- (cpuinfo .use_instr & PVR2_USE_PCMP_INSTR ) ? "yes" : "no" ,
72
- (cpuinfo .use_instr & PVR0_USE_DIV_MASK ) ? "yes" : "no" );
69
+ str_yes_no (cpuinfo .use_instr & PVR0_USE_BARREL_MASK ),
70
+ str_yes_no (cpuinfo .use_instr & PVR2_USE_MSR_INSTR ),
71
+ str_yes_no (cpuinfo .use_instr & PVR2_USE_PCMP_INSTR ),
72
+ str_yes_no (cpuinfo .use_instr & PVR0_USE_DIV_MASK ));
73
73
74
74
seq_printf (m , " MMU:\t\t%x\n" , cpuinfo .mmu );
75
75
@@ -120,7 +120,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
120
120
121
121
seq_printf (m ,
122
122
"HW-Debug:\t%s\n" ,
123
- cpuinfo .hw_debug ? "yes" : "no" );
123
+ str_yes_no ( cpuinfo .hw_debug ) );
124
124
125
125
seq_printf (m ,
126
126
"PVR-USR1:\t%02x\n"
Original file line number Diff line number Diff line change 16
16
#include <asm/page.h>
17
17
#include <linux/ftrace.h>
18
18
#include <linux/uaccess.h>
19
+ #include <asm/xilinx_mb_manager.h>
19
20
20
21
#ifdef CONFIG_FUNCTION_TRACER
21
22
extern void _mcount (void );
@@ -46,3 +47,12 @@ extern void __udivsi3(void);
46
47
EXPORT_SYMBOL (__udivsi3 );
47
48
extern void __umodsi3 (void );
48
49
EXPORT_SYMBOL (__umodsi3 );
50
+
51
+ #ifdef CONFIG_MB_MANAGER
52
+ extern void xmb_manager_register (uintptr_t phys_baseaddr , u32 cr_val ,
53
+ void (* callback )(void * data ),
54
+ void * priv , void (* reset_callback )(void * data ));
55
+ EXPORT_SYMBOL (xmb_manager_register );
56
+ extern asmlinkage void xmb_inject_err (void );
57
+ EXPORT_SYMBOL (xmb_inject_err );
58
+ #endif
You can’t perform that action at this time.
0 commit comments