Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35705
b: refs/heads/master
c: 602cc24
h: refs/heads/master
i:
  35703: ccf1057
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Sep 26, 2006
1 parent 5ac6747 commit 4f9c014
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 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: 537ae946e808d0f22d660f7a3500832fe0c07d14
refs/heads/master: 602cc2418177a5b80f533f569e5a42c4495988c9
1 change: 0 additions & 1 deletion trunk/arch/um/include/kern_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extern int ncpus;
extern char *linux_prog;
extern char *gdb_init;
extern int kmalloc_ok;
extern int timer_irq_inited;
extern int jail;
extern int nsyscalls;

Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/um/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ unsigned long long sched_clock(void)
return (unsigned long long)jiffies_64 * (1000000000 / HZ);
}

/* Changed at early boot */
int timer_irq_inited = 0;

static unsigned long long prev_nsecs;
#ifdef CONFIG_UML_REAL_TIME_CLOCK
static long long delta; /* Deviation per interval */
Expand Down Expand Up @@ -116,8 +113,6 @@ static void register_timer(void)
printk(KERN_ERR "register_timer : request_irq failed - "
"errno = %d\n", -err);

timer_irq_inited = 1;

err = set_interval(1);
if(err != 0)
printk(KERN_ERR "register_timer : set_interval failed - "
Expand Down
7 changes: 0 additions & 7 deletions trunk/arch/um/os-Linux/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,8 @@ void sig_handler(int sig, struct sigcontext *sc)
set_signals(enabled);
}

extern int timer_irq_inited;

static void real_alarm_handler(int sig, struct sigcontext *sc)
{
if(!timer_irq_inited){
signals_enabled = 1;
return;
}

if(sig == SIGALRM)
switch_timers(0);

Expand Down

0 comments on commit 4f9c014

Please sign in to comment.