|
@@ -51,7 +51,7 @@ char *cfs_trace_console_buffers[NR_CPUS][CFS_TCD_TYPE_MAX];
|
|
|
|
|
|
struct rw_semaphore cfs_tracefile_sem;
|
|
|
|
|
|
-int cfs_tracefile_init_arch()
|
|
|
+int cfs_tracefile_init_arch(void)
|
|
|
{
|
|
|
int i;
|
|
|
int j;
|
|
@@ -96,7 +96,7 @@ out:
|
|
|
return -ENOMEM;
|
|
|
}
|
|
|
|
|
|
-void cfs_tracefile_fini_arch()
|
|
|
+void cfs_tracefile_fini_arch(void)
|
|
|
{
|
|
|
int i;
|
|
|
int j;
|
|
@@ -116,27 +116,27 @@ void cfs_tracefile_fini_arch()
|
|
|
fini_rwsem(&cfs_tracefile_sem);
|
|
|
}
|
|
|
|
|
|
-void cfs_tracefile_read_lock()
|
|
|
+void cfs_tracefile_read_lock(void)
|
|
|
{
|
|
|
down_read(&cfs_tracefile_sem);
|
|
|
}
|
|
|
|
|
|
-void cfs_tracefile_read_unlock()
|
|
|
+void cfs_tracefile_read_unlock(void)
|
|
|
{
|
|
|
up_read(&cfs_tracefile_sem);
|
|
|
}
|
|
|
|
|
|
-void cfs_tracefile_write_lock()
|
|
|
+void cfs_tracefile_write_lock(void)
|
|
|
{
|
|
|
down_write(&cfs_tracefile_sem);
|
|
|
}
|
|
|
|
|
|
-void cfs_tracefile_write_unlock()
|
|
|
+void cfs_tracefile_write_unlock(void)
|
|
|
{
|
|
|
up_write(&cfs_tracefile_sem);
|
|
|
}
|
|
|
|
|
|
-cfs_trace_buf_type_t cfs_trace_buf_idx_get()
|
|
|
+cfs_trace_buf_type_t cfs_trace_buf_idx_get(void)
|
|
|
{
|
|
|
if (in_irq())
|
|
|
return CFS_TCD_TYPE_IRQ;
|