]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/kw/main.c
kernel: remove ptclbsum dependencies from configs
[plan9front.git] / sys / src / 9 / kw / main.c
index e938660b337b75e649f9f1dcc11ca8e9f8c722d9..ff9a7ee34a55bd1707f89a5bc84d211f48e3a881 100644 (file)
@@ -322,7 +322,6 @@ wave(' ');
        chandevreset();                 /* most devices are discovered here */
 
        pageinit();
-       swapinit();
        userinit();
        schedinit();
        panic("schedinit returned");
@@ -349,7 +348,7 @@ machinit(void)
 
        conf.nmach = 1;
 
-       active.machs = 1;
+       active.machs[0] = 1;
        active.exiting = 0;
 
        up = nil;
@@ -638,3 +637,10 @@ cmpswap(long *addr, long old, long new)
 {
        return cas32(addr, old, new);
 }
+
+void
+setupwatchpts(Proc *, Watchpt *, int n)
+{
+       if(n > 0)
+               error("no watchpoints");
+}