diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:00:00 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:00:00 +0000 |
commit | 041fb6ae7a2d18d7ccac149ec48442202b3728d3 (patch) | |
tree | 74a1a540010d39feb23d539100551540dc68d315 /sys/arch/hppa | |
parent | 2f93f45f33dc524c837637019bf555d0f67d3c91 (diff) |
remove LKM devices
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/hppa/include/vmparam.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c index 18f2ab8357a..da46c5b2345 100644 --- a/sys/arch/hppa/hppa/conf.c +++ b/sys/arch/hppa/hppa/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.59 2014/08/20 06:14:42 mikeb Exp $ */ +/* $OpenBSD: conf.c,v 1.60 2014/10/09 03:59:58 tedu Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -140,7 +140,7 @@ struct cdevsw cdevsw[] = cdev_fd_init(1,filedesc), /* 16: file descriptor pseudo-device */ cdev_bpf_init(NBPFILTER,bpf), /* 17: Berkeley packet filter */ cdev_tun_init(NTUN,tun), /* 18: network tunnel */ - cdev_lkm_init(NLKM,lkm), /* 19: loadable module driver */ + cdev_notdef(), /* 19: was LKM */ cdev_random_init(1,random), /* 20: random generator */ cdev_pf_init(NPF,pf), /* 21: packet filter */ cdev_tty_init(1,pdc), /* 22: PDC device */ @@ -202,7 +202,6 @@ int mem_no = 2; /* major device number of memory special file */ dev_t swapdev = makedev(0, 0); int chrtoblktbl[] = { - /* XXXX This needs to be dynamic for LKMs. */ /*VCHR*/ /*VBLK*/ /* 0 */ NODEV, /* 1 */ NODEV, diff --git a/sys/arch/hppa/include/vmparam.h b/sys/arch/hppa/include/vmparam.h index 364947ba5df..a300f84d380 100644 --- a/sys/arch/hppa/include/vmparam.h +++ b/sys/arch/hppa/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.43 2014/05/31 20:11:11 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.44 2014/10/09 03:59:59 tedu Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -74,7 +74,7 @@ #endif /* user/kernel map constants */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAXUSER_ADDRESS ((vaddr_t)0xc0000000) #define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS #define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xc0001000) |