aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-16 01:21:33 +0000
committerlloyd <[email protected]>2010-06-16 01:21:33 +0000
commita87419f1304aa63b0b4e17f750f5dd2097cb8bf4 (patch)
treeae6c8b89d432394877e657b27b5b55fe8ef0cb4f /src/utils
parentecb574d32f4382326e94ad19e9d5baecc84a3c29 (diff)
Remove some of the more extraneous namespaces
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/prefetch.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/utils/prefetch.h b/src/utils/prefetch.h
index ede196692..4928c44a0 100644
--- a/src/utils/prefetch.h
+++ b/src/utils/prefetch.h
@@ -12,10 +12,8 @@
namespace Botan {
-namespace PREFETCH {
-
template<typename T>
-inline void readonly(const T* addr, u32bit length)
+inline void prefetch_readonly(const T* addr, u32bit length)
{
#if defined(__GNUG__)
const u32bit Ts_per_cache_line = CPUID::cache_line_size() / sizeof(T);
@@ -26,7 +24,7 @@ inline void readonly(const T* addr, u32bit length)
}
template<typename T>
-inline void readwrite(const T* addr, u32bit length)
+inline void prefetch_readwrite(const T* addr, u32bit length)
{
#if defined(__GNUG__)
const u32bit Ts_per_cache_line = CPUID::cache_line_size() / sizeof(T);
@@ -38,6 +36,4 @@ inline void readwrite(const T* addr, u32bit length)
}
-}
-
#endif