2 programming questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I've written a kernel modul and it works sofar, but I've 2 problems with users 
with the new redhat beta. this kernel has changed some functions that I need

1. the do_generic_file_read function has one parameter more on redhat beta 3 
kernel 2.4.20-2.48 kernel

      do_generic_file_read(vc->vc_backing_file, &position,
- -          &desc, vc_read_actor);
+          &desc, vc_read_actor, 1);


I want now to do an ifdef, so it compiles on both kernels, but I don't know 
which value I should take for that ifdef.

2. an other user told me that his redhat kernel bet kernel doesn't export 
sys_call_table  anymore. I use that to give to user an overview of which 
devices are loaded and that stuff. It works also without the proc stuff, but 
I still would like to have my proc stuff, is there now a new way for the proc 
stuff? 

ps: http://194.242.45.189/robert/virtualcd/index.html is the homepage for my 
kernelmodule if someone wants to check.

- -- 
Regards,
Robert
- ----------------
Robert Penz
robert.penz AT outertech.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+fs7i8tTsQqJDUBMRAq5GAJ9xVqzEiKNuN6xun3gwpUNK1u8M0ACfZkn+
jFUsbfxLn0qYeoazybNy8Jo=
=S2dE
-----END PGP SIGNATURE-----

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux