Skip to contentSkip to conversation

at91: fix arch_gettimeoffset fallout

PATCH New Peter Korsgaard 3 participants 5 messages Sep 17, 2010 – Sep 18, 2010 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 at91: fix arch_gettimeoffset fallout

5cfc8ee0bb51 (ARM: convert arm to arch_gettimeoffset()) marked all of at91 AND at91x40 as needing ARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurate clock_gettime() - But only at91x40 needs it.

---
 arch/arm/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/Kconfig +0 -1
index 553b7cf..a1907b2 100644
@@ -271,7 +271,6 @@ config ARCH_AT91
 	bool "Atmel AT91"
 	select ARCH_REQUIRE_GPIOLIB
 	select HAVE_CLK
-	select ARCH_USES_GETTIMEOFFSET
 	help
 	  This enables support for systems based on the Atmel AT91RM9200,
 	  AT91SAM9 and AT91CAP9 processors.
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 at91: fix arch_gettimeoffset fallout

Quoted 3 lines · Peter Korsgaard

5cfc8ee0bb51 (ARM: convert arm to arch_gettimeoffset()) marked all of at91 AND at91x40 as needing ARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurate clock_gettime() - But only at91x40 needs it.

Huh, sorry I missed that subtlety! Thanks for hunting this down!

Quoted 17 lines
---
 arch/arm/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/Kconfig +0 -1
index 553b7cf..a1907b2 100644
@@ -271,7 +271,6 @@ config ARCH_AT91
 	bool "Atmel AT91"
 	select ARCH_REQUIRE_GPIOLIB
 	select HAVE_CLK
-	select ARCH_USES_GETTIMEOFFSET
 	help
 	  This enables support for systems based on the Atmel AT91RM9200,
 	  AT91SAM9 and AT91CAP9 processors.
#2 lore raw

PATCH 1/1 at91: fix arch_gettimeoffset fallout

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"john" == john stultz <[email protected]> writes:

Quoted 3 lines · Peter Korsgaard
Quoted 3 lines

5cfc8ee0bb51 (ARM: convert arm to arch_gettimeoffset()) marked all of at91 AND at91x40 as needing ARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurate clock_gettime() - But only at91x40 needs it.

john> Huh, sorry I missed that subtlety! Thanks for hunting this down!

No problem - Thanks for cleaning up the timer handling in the first place.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 at91: fix arch_gettimeoffset fallout

In reply to Peter Korsgaard
Quoted 5 lines · Peter Korsgaard

5cfc8ee0bb51 (ARM: convert arm to arch_gettimeoffset()) marked all of at91 AND at91x40 as needing ARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurate clock_gettime() - But only at91x40 needs it.

Best Regards,
J.

#4 lore raw

PATCH 1/1 at91: fix arch_gettimeoffset fallout

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <[email protected]> writes:

Hi,

Quoted 5 lines
Quoted 5 lines

5cfc8ee0bb51 (ARM: convert arm to arch_gettimeoffset()) marked all of at91 AND at91x40 as needing ARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurate clock_gettime() - But only at91x40 needs it.

Jean-Christophe> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Thanks, submitted to rmk's patch tracker as 6400 with those two acked-by's and a a cc to stable@

Signature · 1 line
Bye, Peter Korsgaard