|
@@ -27,6 +27,9 @@
|
|
|
#include <asm/cache.h>
|
|
|
#include <asm/8xx_immap.h>
|
|
|
#include <asm/machdep.h>
|
|
|
+#include <asm/asm-prototypes.h>
|
|
|
+
|
|
|
+#include "setup.h"
|
|
|
|
|
|
static struct tau_temp
|
|
|
{
|
|
@@ -259,12 +262,12 @@ u32 cpu_temp_both(unsigned long cpu)
|
|
|
return ((tau[cpu].high << 16) | tau[cpu].low);
|
|
|
}
|
|
|
|
|
|
-int cpu_temp(unsigned long cpu)
|
|
|
+u32 cpu_temp(unsigned long cpu)
|
|
|
{
|
|
|
return ((tau[cpu].high + tau[cpu].low) / 2);
|
|
|
}
|
|
|
|
|
|
-int tau_interrupts(unsigned long cpu)
|
|
|
+u32 tau_interrupts(unsigned long cpu)
|
|
|
{
|
|
|
return (tau[cpu].interrupts);
|
|
|
}
|