Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29018
b: refs/heads/master
c: 6d2f16a
h: refs/heads/master
v: v3
  • Loading branch information
Roman Zippel authored and Linus Torvalds committed Jun 23, 2006
1 parent 060d21a commit 32e2e8d
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 2dcf15b78d14c8d92fa1ce1be95b75e8d27ef99f
refs/heads/master: 6d2f16a8917eb77a8b79849686159f3a5eae2501
4 changes: 2 additions & 2 deletions trunk/arch/m68k/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ ENTRY(nmi_handler)
inthandler:
SAVE_ALL_INT
GET_CURRENT(%d0)
addqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+2)
addqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+1)
| put exception # in d0
bfextu %sp@(PT_VECTOR){#4,#10},%d0

Expand All @@ -245,7 +245,7 @@ inthandler:
3: addql #8,%sp | pop parameters off stack

ret_from_interrupt:
subqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+2)
subqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+1)
jeq 1f
2:
RESTORE_ALL
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/m68k/kernel/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ void __init init_IRQ(void)
{
int i;

/* assembly irq entry code relies on this... */
if (HARDIRQ_MASK != 0x00ff0000) {
extern void hardirq_mask_is_broken(void);
hardirq_mask_is_broken();
}

for (i = 0; i < SYS_IRQS; i++) {
if (mach_default_handler)
irq_list[i].handler = (*mach_default_handler)[i];
Expand Down

0 comments on commit 32e2e8d

Please sign in to comment.