|
@@ -35,7 +35,7 @@
|
|
#include "coherency.h"
|
|
#include "coherency.h"
|
|
|
|
|
|
unsigned long coherency_phys_base;
|
|
unsigned long coherency_phys_base;
|
|
-static void __iomem *coherency_base;
|
|
|
|
|
|
+void __iomem *coherency_base;
|
|
static void __iomem *coherency_cpu_base;
|
|
static void __iomem *coherency_cpu_base;
|
|
|
|
|
|
/* Coherency fabric registers */
|
|
/* Coherency fabric registers */
|
|
@@ -61,7 +61,7 @@ static struct of_device_id of_coherency_table[] = {
|
|
};
|
|
};
|
|
|
|
|
|
/* Function defined in coherency_ll.S */
|
|
/* Function defined in coherency_ll.S */
|
|
-int ll_set_cpu_coherent(void __iomem *base_addr, unsigned int hw_cpu_id);
|
|
|
|
|
|
+int ll_set_cpu_coherent(unsigned int hw_cpu_id);
|
|
|
|
|
|
int set_cpu_coherent(unsigned int hw_cpu_id, int smp_group_id)
|
|
int set_cpu_coherent(unsigned int hw_cpu_id, int smp_group_id)
|
|
{
|
|
{
|
|
@@ -71,7 +71,7 @@ int set_cpu_coherent(unsigned int hw_cpu_id, int smp_group_id)
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
|
|
- return ll_set_cpu_coherent(coherency_base, hw_cpu_id);
|
|
|
|
|
|
+ return ll_set_cpu_coherent(hw_cpu_id);
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|