From: Benjamin Herrenschmidt <bh40@calva.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: __init, __openfirmware, etc...
Date: Sat, 2 Jan 1999 16:24:51 +0100 [thread overview]
Message-ID: <19990102162451.002014@mail.mipsys.com> (raw)
In-Reply-To: <Pine.LNX.3.96.981231154708.14805A-100000@persephone.cs.nmt.edu>
Hi all !
Could someone explain me how those directive (__init, __openfirmware,
__pmac, ...) works in the kernel ? I guess those are directive for the
linker, and I also guess that __init marked sections will be removed from
memory after kernel initialisation, but what are the other ones ?
I ask this because I added a couple of ioctl to via-pmu (*), and as soon
as I added calls to get_user and put_user to the function, the kernel
refused to link. if I remove the __openfirmware directive from the ioctl
function, then it links fine.
(*) Cort, I have backlight control working on wallstreet, those ioctls
are for allowing user-space control of it too, I think you can remove
your stuff from via-pmu.c. I'll send you patches as soon as I have
cleaned them up a little bit, it's not urgent for 2.2.
--
E-Mail: <mailto:bh40@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
next prev parent reply other threads:[~1999-01-02 15:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-30 10:37 grackle, patches, MMU, Benjamin Herrenschmidt
1998-12-30 11:22 ` Geert Uytterhoeven
1998-12-30 11:35 ` Benjamin Herrenschmidt
1998-12-30 13:21 ` Geert Uytterhoeven
1998-12-31 21:52 ` Cort Dougan
1998-12-31 22:24 ` Benjamin Herrenschmidt
1998-12-31 22:48 ` Cort Dougan
1999-01-02 15:24 ` Benjamin Herrenschmidt [this message]
1999-01-02 20:55 ` __init, __openfirmware, etc Geert Uytterhoeven
1999-01-03 9:42 ` Benjamin Herrenschmidt
1999-01-03 15:04 ` Geert Uytterhoeven
1999-01-01 20:45 ` real-root-dev patch for vger Brad Midgley
1999-01-02 20:54 ` Geert Uytterhoeven
1999-01-03 22:24 ` Brad Midgley
1999-01-03 22:38 ` Geert Uytterhoeven
1999-01-04 10:29 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990102162451.002014@mail.mipsys.com \
--to=bh40@calva.net \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.