public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* A simple question.
@ 2001-05-07 15:29 Hai Xu
  2001-05-07 15:34 ` Robert M. Love
  2001-05-07 15:43 ` Feng Xian
  0 siblings, 2 replies; 5+ messages in thread
From: Hai Xu @ 2001-05-07 15:29 UTC (permalink / raw)
  To: linux-kernel

Dear all,

After I compile and upgrade to a newer Kernel, do I need to copy the
System.map from /usr/src/linux/ to /boot/System-xxxx and link it to
System.map?

Thanks in advance
Hai Xu


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

* Re: A simple question.
  2001-05-07 15:29 A simple question Hai Xu
@ 2001-05-07 15:34 ` Robert M. Love
  2001-05-07 15:43 ` Feng Xian
  1 sibling, 0 replies; 5+ messages in thread
From: Robert M. Love @ 2001-05-07 15:34 UTC (permalink / raw)
  To: Hai Xu; +Cc: linux-kernel

On 07 May 2001 11:29:56 -0400, Hai Xu wrote:
> After I compile and upgrade to a newer Kernel, do I need to copy the
> System.map from /usr/src/linux/ to /boot/System-xxxx and link it to
> System.map

yes, you do. but System.map is only needed to do symbol lookups, for
times like debugging.

note most distributions link /boot/System.map to the correct System.map
(in boot) on startup. if your's does not, its a simple script:

ln -sf /boot/System.map-`uname -r` /boot/System.map


-- 
Robert M. Love
rml@tech9.net
rml@ufl.edu


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

* Re: A simple question.
  2001-05-07 15:29 A simple question Hai Xu
  2001-05-07 15:34 ` Robert M. Love
@ 2001-05-07 15:43 ` Feng Xian
  1 sibling, 0 replies; 5+ messages in thread
From: Feng Xian @ 2001-05-07 15:43 UTC (permalink / raw)
  To: Hai Xu; +Cc: linux-kernel


If you do a make install, it will be copied to /boot directory
automatically;-)

Alex

On Mon, 7 May 2001, Hai Xu wrote:

> Dear all,
>
> After I compile and upgrade to a newer Kernel, do I need to copy the
> System.map from /usr/src/linux/ to /boot/System-xxxx and link it to
> System.map?
>
> Thanks in advance
> Hai Xu
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

-- 
        Feng Xian
   _o)     .~.      (o_
   /\\     /V\      //\
  _\_V    // \\     V_/_
         /(   )\
          ^^-^^
           ALEX


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

* A simple question
@ 2002-08-09  1:26 ed Wang
  2002-08-09 16:57 ` David Love
  0 siblings, 1 reply; 5+ messages in thread
From: ed Wang @ 2002-08-09  1:26 UTC (permalink / raw)
  To: Majordomo, linux-kernel

I saw a lot of function define as _inline_ in Linux
kernel.  What does the term _inline_  mean?  For the
assembly inline statement, _asm_ should do the work.

Thanks for the help!

Ed 

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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

* Re: A simple question
  2002-08-09  1:26 ed Wang
@ 2002-08-09 16:57 ` David Love
  0 siblings, 0 replies; 5+ messages in thread
From: David Love @ 2002-08-09 16:57 UTC (permalink / raw)
  To: ed Wang; +Cc: linux-kernel

ed Wang wrote:
> I saw a lot of function define as _inline_ in Linux
> kernel.  What does the term _inline_  mean?  For the
> assembly inline statement, _asm_ should do the work.
> 
> Thanks for the help!
> 
> Ed 
> 


Feel free to correct me if I'm wrong...

 From my understanding, inline has asolutely nothing to do with 
assembly.  When a function is declared as inline, you're basically 
telling the compiler that anytime it runs into this function being 
called, to replace that call with the body of the function (to eliminate 
the overhead of making the function call).  It's great for small, little 
operations that are done extremely often.

-D.Love




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

end of thread, other threads:[~2002-08-09 16:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-07 15:29 A simple question Hai Xu
2001-05-07 15:34 ` Robert M. Love
2001-05-07 15:43 ` Feng Xian
  -- strict thread matches above, loose matches on Subject: below --
2002-08-09  1:26 ed Wang
2002-08-09 16:57 ` David Love

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