Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7810
b: refs/heads/master
c: c202ac9
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Aug 5, 2005
1 parent 89e42c6 commit d09e93f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 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: 4be44fcd3bf648b782f4460fd06dfae6c42ded4b
refs/heads/master: c202ac9fbdb64145f034be266d6ee88c98b40aa8
3 changes: 2 additions & 1 deletion trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,9 @@ config HPET_TIMER
Choose N to continue using the legacy 8254 timer.

config HPET_EMULATE_RTC
bool "Provide RTC interrupt"
bool
depends on HPET_TIMER && RTC=y
default y

config SMP
bool "Symmetric multi-processing support"
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/x86_64/ia32/ptrace32.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ static int putreg32(struct task_struct *child, unsigned regno, u32 val)
switch (regno) {
case offsetof(struct user32, regs.fs):
if (val && (val & 3) != 3) return -EIO;
child->thread.fs = val & 0xffff;
child->thread.fsindex = val & 0xffff;
break;
case offsetof(struct user32, regs.gs):
if (val && (val & 3) != 3) return -EIO;
child->thread.gs = val & 0xffff;
child->thread.gsindex = val & 0xffff;
break;
case offsetof(struct user32, regs.ds):
if (val && (val & 3) != 3) return -EIO;
Expand Down Expand Up @@ -138,10 +138,10 @@ static int getreg32(struct task_struct *child, unsigned regno, u32 *val)

switch (regno) {
case offsetof(struct user32, regs.fs):
*val = child->thread.fs;
*val = child->thread.fsindex;
break;
case offsetof(struct user32, regs.gs):
*val = child->thread.gs;
*val = child->thread.gsindex;
break;
case offsetof(struct user32, regs.ds):
*val = child->thread.ds;
Expand Down
4 changes: 3 additions & 1 deletion trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,10 @@ fastcall NORET_TYPE void do_exit(long code)
acct_update_integrals(tsk);
update_mem_hiwater(tsk);
group_dead = atomic_dec_and_test(&tsk->signal->live);
if (group_dead)
if (group_dead) {
del_timer_sync(&tsk->signal->real_timer);
acct_process(code);
}
exit_mm(tsk);

exit_sem(tsk);
Expand Down
1 change: 0 additions & 1 deletion trunk/kernel/posix-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,6 @@ void exit_itimers(struct signal_struct *sig)
tmr = list_entry(sig->posix_timers.next, struct k_itimer, list);
itimer_delete(tmr);
}
del_timer_sync(&sig->real_timer);
}

/*
Expand Down

0 comments on commit d09e93f

Please sign in to comment.