move everything out of trunk
[lttv.git] / tests / kernel / test-irqdis.c
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
12 static 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
24 static void ltt_test_exit(void)
25 {
26 printk(KERN_ALERT "test end\n");
27 }
28
29 module_init(ltt_test_init)
30 module_exit(ltt_test_exit)
31
32 MODULE_LICENSE("GPL");
33 MODULE_AUTHOR("Mathieu Desnoyers");
34 MODULE_DESCRIPTION("Linux Trace Toolkit Test");
35
This page took 0.029865 seconds and 4 git commands to generate.