semaphore up function - Linux

This is a discussion on semaphore up function - Linux ; anybody can tell me in which file to find definition of __up_wakeup() for x86_64 systems? thanks...

+ Reply to Thread
Results 1 to 2 of 2

Thread: semaphore up function

  1. semaphore up function

    anybody can tell me in which file to find definition of __up_wakeup()
    for x86_64 systems?

    thanks


  2. Re: semaphore up function

    amujoo@gmail.com wrote in news:24fe0aca-e5bd-412d-87e1-f4244b41c584
    @e53g2000hsa.googlegroups.com:

    > anybody can tell me in which file to find definition of __up_wakeup()
    > for x86_64 systems?


    Looks like it's in arch/x86_64/lib/thunk.S or arch/x86/lib/thunk_64.S
    depending on whether your kernel version is before or after the 32/64
    unification. It's declared via the macro "thunk".

    GH



+ Reply to Thread