convert from svn repository: remove tags directory
[lttv.git] / trunk / tests / kernel / test-irqdis.c
CommitLineData
faac3f94 1/* test-time-probe.c
2 *
3 * Test multiple kmallocs.
4 */
5
6
7#include <linux/init.h>
8#include <linux/module.h>
9#include <linux/interrupt.h>
10#include <linux/delay.h>
11
12static int ltt_test_init(void)
13{
14 unsigned long flags;
15
16 printk(KERN_ALERT "test init\n");
17
18 local_irq_save(flags);
19 msleep(1000);
20 local_irq_restore(flags);
21 return -1;
22}
23
24static void ltt_test_exit(void)
25{
26 printk(KERN_ALERT "test end\n");
27}
28
29module_init(ltt_test_init)
30module_exit(ltt_test_exit)
31
32MODULE_LICENSE("GPL");
33MODULE_AUTHOR("Mathieu Desnoyers");
34MODULE_DESCRIPTION("Linux Trace Toolkit Test");
35
This page took 0.032565 seconds and 4 git commands to generate.