Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32555
b: refs/heads/master
c: e35a5e3
h: refs/heads/master
i:
  32553: e830033
  32551: 13ef9d8
v: v3
  • Loading branch information
Chris Dearman authored and Ralf Baechle committed Jul 13, 2006
1 parent e0644f9 commit 2d82db6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98ab66cdd182f35008fb8993bb930ddde88db923
refs/heads/master: e35a5e35e0f45209a45ec2fd6df90f5ac3a05992
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/genex.S
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ NESTED(nmi_handler, PT_SIZE, sp)
BUILD_HANDLER mdmx mdmx sti silent /* #22 */
BUILD_HANDLER watch watch sti verbose /* #23 */
BUILD_HANDLER mcheck mcheck cli verbose /* #24 */
BUILD_HANDLER mt mt sti verbose /* #25 */
BUILD_HANDLER mt mt sti silent /* #25 */
BUILD_HANDLER dsp dsp sti silent /* #26 */
BUILD_HANDLER reserved reserved sti verbose /* others */

Expand Down
16 changes: 7 additions & 9 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,31 +847,29 @@ asmlinkage void do_mt(struct pt_regs *regs)
{
int subcode;

die_if_kernel("MIPS MT Thread exception in kernel", regs);

subcode = (read_vpe_c0_vpecontrol() & VPECONTROL_EXCPT)
>> VPECONTROL_EXCPT_SHIFT;
switch (subcode) {
case 0:
printk(KERN_ERR "Thread Underflow\n");
printk(KERN_DEBUG "Thread Underflow\n");
break;
case 1:
printk(KERN_ERR "Thread Overflow\n");
printk(KERN_DEBUG "Thread Overflow\n");
break;
case 2:
printk(KERN_ERR "Invalid YIELD Qualifier\n");
printk(KERN_DEBUG "Invalid YIELD Qualifier\n");
break;
case 3:
printk(KERN_ERR "Gating Storage Exception\n");
printk(KERN_DEBUG "Gating Storage Exception\n");
break;
case 4:
printk(KERN_ERR "YIELD Scheduler Exception\n");
printk(KERN_DEBUG "YIELD Scheduler Exception\n");
break;
case 5:
printk(KERN_ERR "Gating Storage Schedulier Exception\n");
printk(KERN_DEBUG "Gating Storage Schedulier Exception\n");
break;
default:
printk(KERN_ERR "*** UNKNOWN THREAD EXCEPTION %d ***\n",
printk(KERN_DEBUG "*** UNKNOWN THREAD EXCEPTION %d ***\n",
subcode);
break;
}
Expand Down

0 comments on commit 2d82db6

Please sign in to comment.