* Kernel changes.
@ 1998-02-13 15:09 Stefan Traby
0 siblings, 0 replies; only message in thread
From: Stefan Traby @ 1998-02-13 15:09 UTC (permalink / raw)
Hi !
I want to thank the nice person who changed (AXP patches 2.0.32)
struct file_operations in linux/include/linux/fs.h
< long (*lseek) (struct inode *, struct file *, off_t, int);
< long (*read) (struct inode *, struct file *, char *, unsigned long);
< long (*write) (struct inode *, struct file *, const char *, unsigned long);
---
> int (*lseek) (struct inode *, struct file *, off_t, int);
> int (*read) (struct inode *, struct file *, char *, int);
> int (*write) (struct inode *, struct file *, const char *, int);
because of this my machine crashed completely (with my own kernel driver).
The change is ok; but my drivers must run on intel _and_ alpha.
it's no problem with "#define" but a hidden type like off_t would
be really nice.
Maybe the changes are really made in 2.1.xx but I can't switch
(and I don't look at) 2.1.xx because I have a SX-board.
BTW, it's great that the count-fields are unsigned now.
It's only theoretically good because read returns signed.
(it _must_ return signed, to return -ERRNO)
Ahhm, I haven't tried it; but is it possible to run a kgdb-client
on an intel-machine ? I currently have only one AXP-machine but
a lot of intel power.
--
ciao -
Stefan
Stefan Traby phone: +43-3133-6107-2
Mitterlasznitzstr. 13 fax: +43-3133-6107-9
8302 Nestelbach mailto://stefan@sime.com
Austria
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-02-13 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-13 15:09 Kernel changes Stefan Traby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox