]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: Remove trace.h from ring_buffer.c
authorSteven Rostedt <srostedt@redhat.com>
Tue, 22 Jan 2013 21:58:30 +0000 (16:58 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Jan 2013 04:38:03 +0000 (23:38 -0500)
commit9c6d90595fe2548db3344889340cb902fa68ddf7
tree0ed97fd3075e0643be14366c425650538be2548c
parent4bb6d2106bc27f22c9c947833e3f5fe6f24a7e3b
ring-buffer: Remove trace.h from ring_buffer.c

ring_buffer.c use to require declarations from trace.h, but
these have moved to the generic header files. There's nothing
in trace.h that ring_buffer.c requires.

There's some headers that trace.h included that ring_buffer.c
needs, but it's best that it includes them directly, and not
include trace.h.

Also, some things may use ring_buffer.c without having tracing
configured. This removes the dependency that may come in the
future.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c