Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66161
b: refs/heads/master
c: e5d7775
h: refs/heads/master
i:
  66159: 7e0c5fe
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Oct 11, 2007
1 parent a5c34a5 commit 1389040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0f5c90644240cc17d5940fa3594cc51ad1ae7ba7
refs/heads/master: e5d77754c5e1a54f9eb61c03085d7932a0b6b738
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ long kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
regs.cp0_epc = (unsigned long) kernel_thread_helper;
regs.cp0_status = read_c0_status();
#if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX)
regs.cp0_status &= ~(ST0_KUP | ST0_IEC);
regs.cp0_status |= ST0_IEP;
regs.cp0_status = (regs.cp0_status & ~(ST0_KUP | ST0_IEP | ST0_IEC)) |
((regs.cp0_status & (ST0_KUC | ST0_IEC)) << 2);
#else
regs.cp0_status |= ST0_EXL;
#endif
Expand Down

0 comments on commit 1389040

Please sign in to comment.