diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-02-04 19:47:29 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:27:29 -0400 |
commit | 0c1a489cb92c996d50adfb84fee5edd7205e0c1b (patch) | |
tree | adf44d3379cb7b7aca57fcb607e766be3aad80a0 /litmus/ctrldev.c | |
parent | 8815090d72fe0fe8f5f67e3bcc8fbe7a5ad1704d (diff) |
Used miscdevice API for sched_trace
This patch changes sched_trace.c to use the miscdevice API
instead of doing all the cdev management ourselves. This remove a
chunk of code and we get sysfs / udev integration for free.
On systems with default udev rules, this will result in a /dev/litmus/log
device being created automatically.
Diffstat (limited to 'litmus/ctrldev.c')
-rw-r--r-- | litmus/ctrldev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/ctrldev.c b/litmus/ctrldev.c index 238da453228d..6677a67cc945 100644 --- a/litmus/ctrldev.c +++ b/litmus/ctrldev.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <litmus/litmus.h> | 7 | #include <litmus/litmus.h> |
8 | 8 | ||
9 | /* only one page for now, but we might want to add a RO version at some point */ | 9 | /* only one page for now, but we might want to add a RO version at some point */ |
10 | #define CTRL_MINOR_COUNT 1 | 10 | |
11 | #define CTRL_NAME "litmus/ctrl" | 11 | #define CTRL_NAME "litmus/ctrl" |
12 | 12 | ||
13 | /* allocate t->rt_param.ctrl_page*/ | 13 | /* allocate t->rt_param.ctrl_page*/ |