Hello,
WARNING: this is an unofficial non stable development patch, please don't use
it unless you want to help develop hpoj.
I modified the sources from the patch burkhard gave us because they didn't work
with 2.4.0-test8.
put_user_ret, get_user_ret, copy_to_user_ret and copy_from_user_ret don't exist
anymore, and I moved the x_spin_lock_bh, x_spin_unlock_bh and spinlock.h
includes inside ieee1284.c and ieee1284pp.c (not very beautiful, but when you compile
ojlib for example, which includes ieee1284.h, it includes itself the headers
from /usr/include/linux/ and not from the kernel sources, which may be from
different kernel issue. In my case they are from 2.2.15, which means it made lot of
errors...)
Still have a few work to do on the sources, but I have to sleep a little :) so
I deliver this patch in case some of you want to look at it.
Btw, the patch is against hpoj 0.6 not patched.
Damcha
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+) s: a-- C++ UL+++ P+>++ L+++ E(+) W++ N+ o? K- w-- O? M V?
PS++ PE- Y+ PGP t+ 5 X++ R(+) tv-(+) b+ DI D++ G e+++ h--- r++ y+++*
------END GEEK CODE BLOCK------
See http://www.geekcode.com |