aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/time.c
Commit message (Collapse)AuthorAge
* nios2: Remove write-only struct member from nios2_timerTobias Klauser2014-12-07
| | | | | | | | The irq member of struct nios2_timer is only written to but never read, thus it can be removed. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Ley Foon Tan <lftan@altera.com>
* nios2: fix error handling of irq_of_parse_and_mapDmitry Torokhov2014-12-07
| | | | | | | | | Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov <dtor@chromium.org> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Ley Foon Tan <lftan@altera.com>
* nios2: Time keepingLey Foon Tan2014-12-07
Add time keeping code for nios2. Signed-off-by: Ley Foon Tan <lftan@altera.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>