@@ -80,7 +80,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
8080 switch (type & 0x1F ) {
8181 case MICROBLAZE_ILL_OPCODE_EXCEPTION :
8282 if (user_mode (regs )) {
83- printk (KERN_WARNING "Illegal opcode exception in user mode.\n" );
83+ pr_debug (KERN_WARNING "Illegal opcode exception in user mode.\n" );
8484 _exception (SIGILL , regs , ILL_ILLOPC , addr );
8585 return ;
8686 }
@@ -89,7 +89,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
8989 break ;
9090 case MICROBLAZE_IBUS_EXCEPTION :
9191 if (user_mode (regs )) {
92- printk (KERN_WARNING "Instruction bus error exception in user mode.\n" );
92+ pr_debug (KERN_WARNING "Instruction bus error exception in user mode.\n" );
9393 _exception (SIGBUS , regs , BUS_ADRERR , addr );
9494 return ;
9595 }
@@ -98,7 +98,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
9898 break ;
9999 case MICROBLAZE_DBUS_EXCEPTION :
100100 if (user_mode (regs )) {
101- printk (KERN_WARNING "Data bus error exception in user mode.\n" );
101+ pr_debug (KERN_WARNING "Data bus error exception in user mode.\n" );
102102 _exception (SIGBUS , regs , BUS_ADRERR , addr );
103103 return ;
104104 }
@@ -107,15 +107,15 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
107107 break ;
108108 case MICROBLAZE_DIV_ZERO_EXCEPTION :
109109 if (user_mode (regs )) {
110- printk (KERN_WARNING "Divide by zero exception in user mode\n" );
110+ pr_debug (KERN_WARNING "Divide by zero exception in user mode\n" );
111111 _exception (SIGILL , regs , ILL_ILLOPC , addr );
112112 return ;
113113 }
114114 printk (KERN_WARNING "Divide by zero exception in kernel mode.\n" );
115115 die ("Divide by exception" , regs , SIGBUS );
116116 break ;
117117 case MICROBLAZE_FPU_EXCEPTION :
118- printk (KERN_WARNING "FPU exception\n" );
118+ pr_debug (KERN_WARNING "FPU exception\n" );
119119 /* IEEE FP exception */
120120 /* I removed fsr variable and use code var for storing fsr */
121121 if (fsr & FSR_IO )
@@ -133,7 +133,7 @@ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type,
133133
134134#ifdef CONFIG_MMU
135135 case MICROBLAZE_PRIVILEGED_EXCEPTION :
136- printk (KERN_WARNING "Privileged exception\n" );
136+ pr_debug (KERN_WARNING "Privileged exception\n" );
137137 /* "brk r0,r0" - used as debug breakpoint */
138138 if (get_user (code , (unsigned long * )regs -> pc ) == 0
139139 && code == 0x980c0000 ) {
0 commit comments