diff options
author | Peter H. Froehlich <[email protected]> | 2015-09-26 18:47:39 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2016-08-18 11:09:04 -0400 |
commit | 2c60b7f31f6c5e7687d506695bbab8dbc1972d6a (patch) | |
tree | 04d9bdb95e733fbead1a8fa8da870b0397aadef9 /mp.c | |
parent | 09396a801a2fc1417e1505f41205255a08393db3 (diff) | |
download | xv6-labs-2c60b7f31f6c5e7687d506695bbab8dbc1972d6a.tar.gz xv6-labs-2c60b7f31f6c5e7687d506695bbab8dbc1972d6a.tar.bz2 xv6-labs-2c60b7f31f6c5e7687d506695bbab8dbc1972d6a.zip |
Removed useless function and prototypes.
Diffstat (limited to 'mp.c')
-rw-r--r-- | mp.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -17,17 +17,11 @@ int ismp; int ncpu; uchar ioapicid; -int -mpbcpu(void) -{ - return bcpu-cpus; -} - static uchar sum(uchar *addr, int len) { int i, sum; - + sum = 0; for(i=0; i<len; i++) sum += addr[i]; |