mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question regarding do_munmap
@ 2002-06-04 18:24 Nick Popoff
  2002-06-04 18:44 ` John Levon
  2002-06-04 20:27 ` Alan Cox
  0 siblings, 2 replies; 3+ messages in thread
From: Nick Popoff @ 2002-06-04 18:24 UTC (permalink / raw)
  To: linux-kernel

  
Greetings all.  My apologies in advance if this question is off topic 
for this list.  I'm responsible for Linux drivers for the hardware my 
company makes.  Our drivers use kernel modules which use the 
do_munmap() function.  I noticed that the kernel provided in RH 7.3 is 
patched to change this function to add a new parameter which is 
missing in the generic kernel. 
 
(Generic 2.4.18 include/linux/mm.h) 
extern int do_munmap(struct mm_struct *, unsigned long, size_t); 
 
(RH 7.3/AC patched 2.4.18-3 include/linux/mm.h) 
extern int do_munmap(struct mm_struct *, unsigned long, size_t, int 
acct); 
 
My question is what is the recommended way for module developers to 
handle changes to this API so that end users don't have to edit 
makefiles to build for their particular kernel?  Is there a way to 
detect that a specific patch or patch author is in use so that my 
install script can use the correct function?  Any recomendations on 
how to handle this besides grep'ing source in my installer? :-) 
 
Any advice on this would be much appreciated.  Right now our driver is 
easier to install on Linux than another other OS we support and I want 
to keep it that way!  Also, I'm not subscribed to this fearsome 
mailing list so please CC me on any replies. 
 
 
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-04 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-04 18:24 Question regarding do_munmap Nick Popoff
2002-06-04 18:44 ` John Levon
2002-06-04 20:27 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®