aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/cavium
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2016-02-03 16:44:06 +0000
committerMichal Meloun <mmel@FreeBSD.org>2016-02-03 16:44:06 +0000
commitd1e8cd8a881daf4ab16afeb028f68b36e0d6fe77 (patch)
tree126858810fd127d73d995b47a8150dfea63ed1a7 /sys/arm/cavium
parent5c734b0410ce6a4cacfd1a58697ff9b038638277 (diff)
downloadsrc-d1e8cd8a881daf4ab16afeb028f68b36e0d6fe77.tar.gz
src-d1e8cd8a881daf4ab16afeb028f68b36e0d6fe77.zip
ARM: Consistently use cpu_setttb() instead of setttb().
Remove unused #define for drain_writebuf.
Notes
Notes: svn path=/head/; revision=295213
Diffstat (limited to 'sys/arm/cavium')
-rw-r--r--sys/arm/cavium/cns11xx/econa_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/cavium/cns11xx/econa_machdep.c b/sys/arm/cavium/cns11xx/econa_machdep.c
index 159105333f03..e212a100c97f 100644
--- a/sys/arm/cavium/cns11xx/econa_machdep.c
+++ b/sys/arm/cavium/cns11xx/econa_machdep.c
@@ -275,7 +275,7 @@ initarm(struct arm_boot_params *abp)
arm_devmap_bootstrap(l1pagetable, econa_devmap);
cpu_domains((DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2)) | DOMAIN_CLIENT);
- setttb(kernel_l1pt.pv_pa);
+ cpu_setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
cninit();
@@ -297,7 +297,7 @@ initarm(struct arm_boot_params *abp)
/*
* We must now clean the cache again....
* Cleaning may be done by reading new data to displace any
- * dirty data in the cache. This will have happened in setttb()
+ * dirty data in the cache. This will have happened in cpu_setttb()
* but since we are boot strapping the addresses used for the read
* may have just been remapped and thus the cache could be out
* of sync. A re-clean after the switch will cure this.