Differences in 2.0.22 and 2.1.32 (missing functions)

Balaji Srinivasan (balaji@ittc.ukans.edu)
Fri, 25 Apr 1997 00:38:16 -0500 (CDT)


Hi everyone.

I am trying to port something that I had written for 2.0.22 to 2.1.32 and
I ran into major problems....

I had used some kernel functions that were there in 2.0.22 but now
they are missing in 2.1.32. they are

vremap (which used to be in mm/vmalloc.h)
proc_register_dynamic (used to be in fs/proc/root.c)
and memcpy_fromfs/tofs (used to be in asm/segment.h
(now only in asm-mips/segment.h))

Suprisingly i find that there are some kernel routines that use the above
functions (for example proc_register_dynamic is sunrpc/stats.c)

Now my question is why have these been removed?
Why do files that use these compile (or do they??)
and what can i use as a replacement for these functions...

Sorry if I am asking something that has already been discussed on this list..

Also I checked and saw a note in drivers/scsi/ncr53c8xx.c which said that
I should use ioremap instead of vremap....do they perform the same
function??? (what I want to do is allocate a space for my module
that is beyond the physical address space for the kernel but exists in
the main memory... ie. in my 32 MB box, I want to keep 8 MB for my stuff
that the rest of the kernel cannot use...so I used to pass a mem=24M to
the lilo command line and then map the remaining 8MB for my use...)
thanx in advance
balaji
-------------------------------------------------------------------------------
Balaji Srinivasan
Voice: (913)-864-4776(W) email: balaji@eecs.ukans.edu
(913)-841-3555(H) WWW : http://www.eecs.ukans.edu/~balaji