kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: cakturk@gmail.com (Cihangir Aktürk)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Include directories
Date: Wed, 28 Mar 2012 00:40:47 +0300	[thread overview]
Message-ID: <CACSM0COzWudghQ8oq3rsJ4aFXMo5-WYu23hTo_LnvsmsbB9gqA@mail.gmail.com> (raw)
In-Reply-To: <CAEDT7TWZ-VMWdDTnczAxncq_AvbTzF1+4eT0qoM_wWAkutHQjw@mail.gmail.com>

> Hi,

Hi,

> Also, I want to understand that what /include/linux headers are for and what
> /include/asm-generic?headers are for. How do they?differentiate between each
> other??What is the logic behind having two separate header folders? How do
> they relate to each other?

AFAIK, headers found in /include/asm-generic directory is for architechture
independent (probably shared across architectures) code. Most likely you do
not need to include these headers directly, instead we include these headers
indirectly via architecthure dependent headers.

OTOH, /include/linux directory is for generic header files to define interfaces
between components of the kernel. In most situations, you will find all the
kernel functionalities you need in these headers.

regards, chngr.

      reply	other threads:[~2012-03-27 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15  6:45 Include directories Sertaç Olgunsoylu
2012-03-27 21:40 ` Cihangir Aktürk [this message]

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=CACSM0COzWudghQ8oq3rsJ4aFXMo5-WYu23hTo_LnvsmsbB9gqA@mail.gmail.com \
    --to=cakturk@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).