at91: fix arch_gettimeoffset fallout
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
@@ -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
PATCH 1/1 at91: fix arch_gettimeoffset fallout
Quoted 3 lines · Peter Korsgaard
5cfc8ee0bb51(ARM: convert arm toarch_gettimeoffset()) marked all of at91 AND at91x40 as needingARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurateclock_gettime()- But only at91x40 needs it.
Huh, sorry I missed that subtlety! Thanks for hunting this down!
Quoted 17 lines
Signed-off-by Peter Korsgaard <[email protected]>--- arch/arm/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)arch/arm/Kconfig +0
-1@@ -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.
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 toarch_gettimeoffset()) marked all of at91 AND at91x40 as needingARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurateclock_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
PATCH 1/1 at91: fix arch_gettimeoffset fallout
In reply to Peter KorsgaardQuoted 5 lines · Peter Korsgaard
5cfc8ee0bb51(ARM: convert arm toarch_gettimeoffset()) marked all of at91 AND at91x40 as needingARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurateclock_gettime()- But only at91x40 needs it.Signed-off-by Peter Korsgaard <[email protected]>
Best Regards,
J.
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 toarch_gettimeoffset()) marked all of at91 AND at91x40 as needingARCH_USES_GETTIMEOFFSET, and hence no high res timer support / accurateclock_gettime()- But only at91x40 needs it.Signed-off-by Peter Korsgaard <[email protected]>
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