Fix: wrapper random documentation
[lttng-modules.git] / wrapper / random.c
index 74dce49fe4864de486fa33bf6a4bfdbf9c1faf05..7b91fc7f3e146a4b8046b7996ecb4855812537a5 100644 (file)
@@ -2,9 +2,7 @@
  *
  * wrapper/random.c
  *
- * wrapper around bootid read. Using KALLSYMS to get its address when
- * available, else we need to have a kernel that exports this function to GPL
- * modules.
+ * wrapper around bootid read. Read the boot id through the /proc filesystem.
  *
  * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
@@ -55,6 +53,7 @@ end:
        filp_close(file, current->files);
        return ret;
 }
+EXPORT_SYMBOL_GPL(wrapper_get_bootid);
 
 #else
 
@@ -62,5 +61,6 @@ int wrapper_get_bootid(char *bootid)
 {
        return -ENOSYS;
 }
+EXPORT_SYMBOL_GPL(wrapper_get_bootid);
 
 #endif
This page took 0.026319 seconds and 4 git commands to generate.