Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59267
b: refs/heads/master
c: 4adb70f
h: refs/heads/master
i:
  59265: 575c2f7
  59263: a8fb20a
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 12, 2007
1 parent 5860035 commit 07dbe8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 2aca0a865722fce435034cee5a33e1726fe10a9f
refs/heads/master: 4adb70fc1b9b545ce6221f0cc35a8fa0eab13461
9 changes: 0 additions & 9 deletions trunk/arch/arm/mach-pxa/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
#include <asm/arch/pxa-regs.h>


static inline unsigned long pxa_get_rtc_time(void)
{
return RCNR;
}

static int pxa_set_rtc(void)
{
unsigned long current_time = xtime.tv_sec;
Expand Down Expand Up @@ -122,10 +117,6 @@ static void __init pxa_timer_init(void)

set_rtc = pxa_set_rtc;

tv.tv_nsec = 0;
tv.tv_sec = pxa_get_rtc_time();
do_settimeofday(&tv);

OIER = 0; /* disable any timer interrupts */
OSSR = 0xf; /* clear status on all timers */
setup_irq(IRQ_OST0, &pxa_timer_irq);
Expand Down

0 comments on commit 07dbe8a

Please sign in to comment.