summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/stubs.c
blob: 30f02827995b25a5a25edab9515d5d4befcf511f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*#include <linux/in.h>*/
#include <linux/autoconf.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>

void sys_iopl(void)
{
	lock_kernel();
	panic("sys_iopl");
	unlock_kernel();
}
void sys_vm86(void)
{
	lock_kernel();
	panic("sys_vm86");
	unlock_kernel();
}
void sys_modify_ldt(void)
{
	lock_kernel();
	panic("sys_modify_ldt");
	unlock_kernel();
}

void sys_ipc(void)
{
	lock_kernel();
	panic("sys_ipc");
	unlock_kernel();
}

void sys_newselect(void)
{
	lock_kernel();
	panic("sys_newselect");
	unlock_kernel();
}

#ifndef CONFIG_MODULES
void
scsi_register_module(void)
{
	lock_kernel();
	panic("scsi_register_module");
	unlock_kernel();
}

void
scsi_unregister_module(void)
{
	lock_kernel();
	panic("scsi_unregister_module");
	unlock_kernel();
}
#endif