| ★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0111.html | Nouvelle recherche | Portail wanayoo |
|
Al Longyear (longyear@sii.com) Wed Nov 13 20:29:00 1996 |
[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links] |
|
I did some patches for my system. I sent them to David, but it seems like everthing else that I send to him, ends up in a black hole. I get no response; not even "no I don't like them." He must be taking lessons from some of the FSF people.So, anyway, here are the changes to permit the code to work with the 2.1 series kernels -- or any of the 2.x for that matter since they detect the kernel version and make the appropriate changes:
The changes to ds.c are merly cosmetic. The parameters changed in the 2.1 series kernel from 'int' to 'unsigned long'. For the iNTEL (and Motorolla 68K) platforms, they are the same size.
The 'real' changes are in the k_compat.h header file. These changes are perhaps not the best in the world. What I strove to achive was compatibility with the existing code and to make as few changes as possible. This means that the functions favor the older style of memory management rather than the newer one.