summaryrefslogtreecommitdiffstats
path: root/src/kernel/exception.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/exception.C')
-rw-r--r--src/kernel/exception.C8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/kernel/exception.C b/src/kernel/exception.C
index aff600225..1ac76c09a 100644
--- a/src/kernel/exception.C
+++ b/src/kernel/exception.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2014 */
+/* Contributors Listed Below - COPYRIGHT 2010,2015 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -181,7 +183,7 @@ namespace ExceptionHandles
// Check for 'nap' and skip over. This avoids a task-crash
// if for some reason we entered back into the task without
- // priviledge raised.
+ // privilege raised.
if (*instruction == 0x4c000364)
{
printk("Error: Nap executed with lowered permissions on %d\n",
@@ -199,7 +201,7 @@ namespace ExceptionHandles
{
// check to make sure previous instruction was a branch
- // if not, then we don't want to handle ths exception
+ // if not, then we don't want to handle this exception
uint32_t* previous_instr =
(reinterpret_cast<uint32_t*>(phys_addr)) - 1;
if ( (*previous_instr & EXCEPTION_BRANCH_INSTR_MASK)
OpenPOWER on IntegriCloud