summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-04-06 15:54:28 -0500
committerPatrick Williams <iawillia@us.ibm.com>2011-04-06 15:54:28 -0500
commit557aba52655dec84a73bdbc19c59b62ec916159d (patch)
tree824496a313e609447a4a9df77856e08990779cfc /src/kernel
parent7c7a61ad865942fd1e39f4b15d020d9e0454613e (diff)
downloadtalos-hostboot-557aba52655dec84a73bdbc19c59b62ec916159d.tar.gz
talos-hostboot-557aba52655dec84a73bdbc19c59b62ec916159d.zip
Revert "Temporary dcbf on printk for VBU."
HW team decided it wouldn't help because dcbf is a no-op out of L2 this mode. Keeping the commit in the repo in case we want to reference it later. This reverts commit 7c7a61ad865942fd1e39f4b15d020d9e0454613e.
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/console.C6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kernel/console.C b/src/kernel/console.C
index 373d67c4f..6912b8450 100644
--- a/src/kernel/console.C
+++ b/src/kernel/console.C
@@ -3,7 +3,6 @@
#include <util/sprintf.H>
#include <util/functor.H>
#include <stdarg.h>
-#include <arch/ppc.H>
char kernel_printk_buffer[Console::BUFFER_SIZE];
@@ -20,10 +19,7 @@ int Console::putc(int c)
}
else if (BUFFER_SIZE > iv_pos)
{
- size_t pos = __sync_fetch_and_add(&iv_pos, 1);
- iv_buffer[pos] = c;
- dcbf(&iv_buffer[pos]); // TODO: This is temporary for VBU since we
- // can't read the L3 if data is in L2.
+ iv_buffer[__sync_fetch_and_add(&iv_pos, 1)] = c;
}
return c;
}
OpenPOWER on IntegriCloud