Comment 6 for bug 868550

Revision history for this message
Dave Martin (dave-martin-arm) wrote : [GIT PULL] Avoid #ifdef __linux__ misuse in exportable headers

Can someone give this a try?

For now, I've only attempted to touch headers that look like
they are expoerted to userspace.

The following changes since commit c6a389f123b9f68d605bb7e0f9b32ec1e3e14132:

  Linux 3.1-rc4 (2011-08-28 21:16:01 -0700)

are available in the git repository at:
  git://git.linaro.org/people/dmart/linux-2.6-arm.git linux/ifdef-kernel+for-linaro-android

Dave Martin (5):
      kbuild: Introduce -D__linux_kernel__ to indicate building of the Linux kernel
      acpi: avoid #ifdef __linux__ misuse in exportable headers
      drm: avoid #ifdef __linux__ misuse in exportable headers
      coda: avoid #ifdef __linux__ misuse in exportable headers
      ext2: avoid #ifdef __linux__ misuse in exportable headers

 Makefile | 2 +-
 include/acpi/platform/acenv.h | 2 +-
 include/drm/drm.h | 2 +-
 include/linux/coda.h | 8 ++++----
 include/linux/ext2_fs.h | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)