Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*/
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/init.h>
|
||||
@@ -112,8 +113,10 @@ static void c0_timer_ack(void)
|
||||
{
|
||||
unsigned int count;
|
||||
|
||||
#ifndef CONFIG_SOC_PNX8550 /* pnx8550 resets to zero */
|
||||
/* Ack this timer interrupt and set the next one. */
|
||||
expirelo += cycles_per_jiffy;
|
||||
#endif
|
||||
write_c0_compare(expirelo);
|
||||
|
||||
/* Check to see if we have missed any timer interrupts. */
|
||||
|
Reference in New Issue
Block a user