summaryrefslogtreecommitdiff
path: root/big-little/virtualisor/virt_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'big-little/virtualisor/virt_context.c')
-rw-r--r--big-little/virtualisor/virt_context.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/big-little/virtualisor/virt_context.c b/big-little/virtualisor/virt_context.c
index 65dacb6..85d572e 100644
--- a/big-little/virtualisor/virt_context.c
+++ b/big-little/virtualisor/virt_context.c
@@ -1,23 +1,23 @@
/*
* Copyright (c) 2012, ARM Limited. All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that the
* following conditions are met:
- *
+ *
* Redistributions of source code must retain the above
- * copyright notice, this list of conditions and the
+ * copyright notice, this list of conditions and the
* following disclaimer.
*
* Redistributions in binary form must reproduce the
- * above copyright notice, this list of conditions and
- * the following disclaimer in the documentation
+ * above copyright notice, this list of conditions and
+ * the following disclaimer in the documentation
* and/or other materials provided with the distribution.
- *
+ *
* Neither the name of ARM nor the names of its
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
- * permission.
+ * permission.
*/
#include "virtualisor.h"
@@ -33,7 +33,7 @@ extern cache_stats cm_op_stats[NUM_CPUS][MAX_CACHE_LEVELS];
/*
* Save/Restore of Virtualisor should be done only on the host cpu
* & host cluster unlike setup which is done on both. The cluster
- * is need for cases where both clusters have same cpu type and one
+ * is need for cases where both clusters have same cpu type and one
* cluster does not use the Virtualisor.
*/
void SaveVirtualisor(unsigned first_cpu)
@@ -52,7 +52,7 @@ void SaveVirtualisor(unsigned first_cpu)
if (cluster_id == host_cluster) {
/*
- * Since there is only one second stage translation table, its
+ * Since there is only one second stage translation table, its
* safe to assume that only one cpu (first_cpu) should save &
* restore the context.
*/
@@ -64,7 +64,7 @@ void SaveVirtualisor(unsigned first_cpu)
if (s2_td[ctr].valid
&& s2_td[ctr].cluster_id == cluster_id) {
- /*
+ /*
* Save the current descriptor and restore the
* previous. Need not worry about synchronisation
* issues, as the existing entry was causing
@@ -105,7 +105,7 @@ void SaveVirtualisor(unsigned first_cpu)
}
- /*
+ /*
* Call any cpu specific save routines (if any)
*/
vd_len = (unsigned)&virt_desc_section$$Length;
@@ -155,7 +155,7 @@ void RestoreVirtualisor(unsigned first_cpu)
if (cluster_id == host_cluster) {
/*
- * Since there is only one second stage translation table, its
+ * Since there is only one second stage translation table, its
* safe to assume that only one cpu (first_cpu) should save &
* restore the context.
*/
@@ -166,8 +166,8 @@ void RestoreVirtualisor(unsigned first_cpu)
ctr++) {
if (s2_td[ctr].valid
&& s2_td[ctr].cluster_id == cluster_id) {
- /*
- * Restore the current descriptor and save the previous
+ /*
+ * Restore the current descriptor and save the previous
*/
cd_ptr =
&((unsigned long long
@@ -204,7 +204,7 @@ void RestoreVirtualisor(unsigned first_cpu)
}
}
- /*
+ /*
* Call any cpu specific restore routines (if any)
*/
vd_len = (unsigned)&virt_desc_section$$Length;