All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Ungerer <gerg@snapgear.com>
To: uClinux development list <uclinux-dev@uclinux.org>
Cc: Greg Ungerer <gerg@uclinux.org>, Sam Ravnborg <sam@ravnborg.org>,
	Linux/m68k <linux-m68k@vger.kernel.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: [uClinux-dev] [PATCH] m68k: Unify arch/m68k/include/asm/unistd.h
Date: Sun, 01 Feb 2009 22:46:30 +1000	[thread overview]
Message-ID: <498599A6.7080202@snapgear.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0902011114410.30504@anakin>

Hi Geert,

Geert Uytterhoeven wrote:
>>From b708bab9dbc93bc80bd06c9222ab34530736f737 Mon Sep 17 00:00:00 2001
> From: Geert Uytterhoeven <geert@linux-m68k.org>
> Date: Thu, 29 Jan 2009 21:21:40 +0100
> Subject: [PATCH] m68k: Unify arch/m68k/include/asm/unistd.h
> 
> arch/m68k/include/asm/unistd_{no,mm}.h are identical, except for whitespace
> differences, so unify them.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---

Looks good to me.

I started down the track of merging similar headers on Friday too.

So far I have about 12 or so for review at in the git tree below.
(One of which is exactly this unistd.h merge :-)  Still plenty of
easy merges amongst the other files too...


The following changes since commit 18e352e4a73465349711a9324767e1b2453383e2:
   Linus Torvalds (1):
         Linux 2.6.29-rc3

are available in the git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git 
for-linus

Greg Ungerer (15):
       m68knommu: mark all RAM as ZONE_DMA
       m68knommu: add a local dma_sync_single_for_cpu() function
       m68k: use the mmu pci.h for m68knommu as well
       m68k: swtich non-mmu setups to use the mmu dma-mapping.h
       m68k: use the mc146818rtc.h for non-mmu setups as well.
       m68k: use mmu kmap_types.h for non-mmu setups as well
       m68knommu: remove no longer used mcfpci.h
       m68k: merge the mmu and non-mmu versions of mmu.h
       m68k: use mmu scatterlist.h for non-mmu setups as well
       m68k: use mmu fpu.h for non-mmu builds as well
       m68k: use mmu timex.h for non-mmu setups as well
       m68k: use mmu version of elf.h for non-mmu builds as well
       m68k: use non-mmu version of unaligned.h for all m68k
       m68k: remove non-mmu unistd.h
       m68k: the one hw_irq.h can be used buy all m68k

  arch/m68k/include/asm/dma-mapping.h    |  113 +++++++++-
  arch/m68k/include/asm/dma-mapping_mm.h |  112 ----------
  arch/m68k/include/asm/dma-mapping_no.h |    6 -
  arch/m68k/include/asm/elf.h            |  120 ++++++++++-
  arch/m68k/include/asm/elf_mm.h         |  119 ----------
  arch/m68k/include/asm/elf_no.h         |  110 ---------
  arch/m68k/include/asm/fpu.h            |   22 ++-
  arch/m68k/include/asm/fpu_mm.h         |   21 --
  arch/m68k/include/asm/fpu_no.h         |   21 --
  arch/m68k/include/asm/hw_irq.h         |    9 +-
  arch/m68k/include/asm/hw_irq_mm.h      |    6 -
  arch/m68k/include/asm/hw_irq_no.h      |    4 -
  arch/m68k/include/asm/kmap_types.h     |   26 ++-
  arch/m68k/include/asm/kmap_types_mm.h  |   21 --
  arch/m68k/include/asm/kmap_types_no.h  |   21 --
  arch/m68k/include/asm/mc146818rtc.h    |   31 +++-
  arch/m68k/include/asm/mc146818rtc_mm.h |   26 ---
  arch/m68k/include/asm/mc146818rtc_no.h |    9 -
  arch/m68k/include/asm/mcfpci.h         |  119 ----------
  arch/m68k/include/asm/mmu.h            |   14 +-
  arch/m68k/include/asm/mmu_mm.h         |    7 -
  arch/m68k/include/asm/mmu_no.h         |   10 -
  arch/m68k/include/asm/pci.h            |   17 +-
  arch/m68k/include/asm/pci_mm.h         |   12 -
  arch/m68k/include/asm/pci_no.h         |   29 ---
  arch/m68k/include/asm/scatterlist.h    |   26 ++-
  arch/m68k/include/asm/scatterlist_mm.h |   23 --
  arch/m68k/include/asm/scatterlist_no.h |   22 --
  arch/m68k/include/asm/timex.h          |   21 ++-
  arch/m68k/include/asm/timex_mm.h       |   18 --
  arch/m68k/include/asm/timex_no.h       |   23 --
  arch/m68k/include/asm/unaligned.h      |   26 ++-
  arch/m68k/include/asm/unaligned_mm.h   |   13 -
  arch/m68k/include/asm/unaligned_no.h   |   25 --
  arch/m68k/include/asm/unistd.h         |  377 
+++++++++++++++++++++++++++++++-
  arch/m68k/include/asm/unistd_mm.h      |  372 
-------------------------------
  arch/m68k/include/asm/unistd_no.h      |  372 
-------------------------------
  arch/m68knommu/kernel/dma.c            |    8 +-
  arch/m68knommu/mm/init.c               |    6 +-
  39 files changed, 763 insertions(+), 1574 deletions(-)
  delete mode 100644 arch/m68k/include/asm/dma-mapping_mm.h
  delete mode 100644 arch/m68k/include/asm/dma-mapping_no.h
  delete mode 100644 arch/m68k/include/asm/elf_mm.h
  delete mode 100644 arch/m68k/include/asm/elf_no.h
  delete mode 100644 arch/m68k/include/asm/fpu_mm.h
  delete mode 100644 arch/m68k/include/asm/fpu_no.h
  delete mode 100644 arch/m68k/include/asm/hw_irq_mm.h
  delete mode 100644 arch/m68k/include/asm/hw_irq_no.h
  delete mode 100644 arch/m68k/include/asm/kmap_types_mm.h
  delete mode 100644 arch/m68k/include/asm/kmap_types_no.h
  delete mode 100644 arch/m68k/include/asm/mc146818rtc_mm.h
  delete mode 100644 arch/m68k/include/asm/mc146818rtc_no.h
  delete mode 100644 arch/m68k/include/asm/mcfpci.h
  delete mode 100644 arch/m68k/include/asm/mmu_mm.h
  delete mode 100644 arch/m68k/include/asm/mmu_no.h
  delete mode 100644 arch/m68k/include/asm/pci_mm.h
  delete mode 100644 arch/m68k/include/asm/pci_no.h
  delete mode 100644 arch/m68k/include/asm/scatterlist_mm.h
  delete mode 100644 arch/m68k/include/asm/scatterlist_no.h
  delete mode 100644 arch/m68k/include/asm/timex_mm.h
  delete mode 100644 arch/m68k/include/asm/timex_no.h
  delete mode 100644 arch/m68k/include/asm/unaligned_mm.h
  delete mode 100644 arch/m68k/include/asm/unaligned_no.h
  delete mode 100644 arch/m68k/include/asm/unistd_mm.h
  delete mode 100644 arch/m68k/include/asm/unistd_no.h


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@snapgear.com
SnapGear, a McAfee Company                  PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com

  reply	other threads:[~2009-02-01 12:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-01 10:15 [PATCH] m68k: Unify arch/m68k/include/asm/unistd.h Geert Uytterhoeven
2009-02-01 12:46 ` Greg Ungerer [this message]
2009-02-01 22:39   ` [uClinux-dev] " Sam Ravnborg
2009-02-02 21:46   ` Geert Uytterhoeven
2009-02-03  6:36     ` Greg Ungerer
2009-02-03  6:36       ` [uClinux-dev] " Greg Ungerer
2009-02-02 21:47   ` Geert Uytterhoeven
2009-02-02 21:47     ` [uClinux-dev] " Geert Uytterhoeven
2009-02-03  6:41     ` Greg Ungerer

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=498599A6.7080202@snapgear.com \
    --to=gerg@snapgear.com \
    --cc=gerg@uclinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=uclinux-dev@uclinux.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.