public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* New System call & Kernel compilation
@ 2004-12-17 10:26 selva kumar
  2004-12-17 17:16 ` Randy.Dunlap
  2004-12-18 14:19 ` Sam Ravnborg
  0 siblings, 2 replies; 4+ messages in thread
From: selva kumar @ 2004-12-17 10:26 UTC (permalink / raw)
  To: linux-kernel

selva:
  After adding a new system call, should we have to
recompile the whole kernel? can anyone help me
regarding this?

Thanks
selva



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

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

* Re: New System call & Kernel compilation
  2004-12-17 10:26 New System call & Kernel compilation selva kumar
@ 2004-12-17 17:16 ` Randy.Dunlap
  2004-12-18 14:19 ` Sam Ravnborg
  1 sibling, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2004-12-17 17:16 UTC (permalink / raw)
  To: selva kumar; +Cc: linux-kernel

selva kumar wrote:
> selva:
>   After adding a new system call, should we have to
> recompile the whole kernel? can anyone help me
> regarding this?

Yes, it's expected that you rebuild the kernel
(at least all affected files), then reboot that
kernel to use the new syscall.

OTOH, there has been some recent email on lkml about
dynamic syscalls and a way to allow them (mostly for
experimental use AIUI, but if that's the case, just
rebuilding and rebooting would probably do for most
people).

-- 
~Randy

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

* Re: New System call & Kernel compilation
  2004-12-17 10:26 New System call & Kernel compilation selva kumar
  2004-12-17 17:16 ` Randy.Dunlap
@ 2004-12-18 14:19 ` Sam Ravnborg
  2004-12-18 14:29   ` Jan Engelhardt
  1 sibling, 1 reply; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-18 14:19 UTC (permalink / raw)
  To: selva kumar; +Cc: linux-kernel

On Fri, Dec 17, 2004 at 02:26:31AM -0800, selva kumar wrote:
> selva:
>   After adding a new system call, should we have to
> recompile the whole kernel? can anyone help me
> regarding this?

You do not need to do a 'make clean'. Simply executing make will suffer 
since kbuild has track of all dependencies.

Assuming 2.6 kernel!

	Sam

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

* Re: New System call & Kernel compilation
  2004-12-18 14:19 ` Sam Ravnborg
@ 2004-12-18 14:29   ` Jan Engelhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2004-12-18 14:29 UTC (permalink / raw)
  Cc: linux-kernel

>>   After adding a new system call, should we have to
>> recompile the whole kernel? can anyone help me
>> regarding this?
>
>You do not need to do a 'make clean'. Simply executing make will suffer 
>since kbuild has track of all dependencies.
>
>Assuming 2.6 kernel!

Even in 2.4 you do not need make clean. make dep should suffice if you changed 
some includes.

I dislike how many FAQs and tutorials always add "do a make clean"... that 
requires you to recompile everything (read: may take "some time", when in 
practice you only need a few things (i'm speaking generally, any app is 
considered).


Jan Engelhardt
-- 
ENOSPC

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

end of thread, other threads:[~2004-12-18 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-17 10:26 New System call & Kernel compilation selva kumar
2004-12-17 17:16 ` Randy.Dunlap
2004-12-18 14:19 ` Sam Ravnborg
2004-12-18 14:29   ` Jan Engelhardt

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