1. 23 1月, 2011 2 次提交
    • G
      m68k/atari: Rename "scc" to "atari_scc" · de339e4b
      Geert Uytterhoeven 提交于
      It's a way too generic name for a global #define and conflicts with a variable
      with the same name, causing build errors like:
      
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c: In function ‘_si_clkctl_cc’:
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected identifier or ‘(’ before ‘volatile’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected ‘)’ before ‘(’ token
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1421: error: incompatible types in assignment
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1422: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1423: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1424: error: invalid operands to binary |
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: incompatible type for argument 4 of ‘bcmsdh_reg_write’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1428: error: invalid operands to binary &
      | make[8]: *** [drivers/staging/brcm80211/brcmfmac/../util/siutils.o] Error 1
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      de339e4b
    • G
      m68k: Uninline strchr() · f9b07897
      Geert Uytterhoeven 提交于
      Some versions of gcc replace calls to strstr() with single-character
      "needle" string parameters by calls to strchr() behind our back.
      
      If strchr() is defined as an inline function, this causes linking errors
      like
      
      	ERROR: "strchr" [drivers/target/target_core_mod.ko] undefined!
      
      As m68k is the only architecture that has an inline strchr() and this
      inline version is not an optimized asm version, uninline strchr() and use
      the standard out-of-line C version in lib/string.c instead.
      
      This also decreases the defconfig/allmodconfig kernel image sizes by a few
      hundred bytes.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      f9b07897
  2. 12 1月, 2011 1 次提交
  3. 07 1月, 2011 9 次提交
  4. 06 1月, 2011 1 次提交
    • G
      m68k/sun3: Kill pte_unmap() warnings · 0eefed84
      Geert Uytterhoeven 提交于
      Since commit 31c91132 ("mm: check the argument
      of kunmap on architectures without highmem"), we get lots of warnings like
      
      arch/m68k/kernel/sys_m68k.c:508: warning: passing argument 1 of ‘kunmap’ from incompatible pointer type
      
      As m68k doesn't support highmem anyway, open code the calls to kmap() and
      kunmap() (the latter is a no-op) to kill the warnings, like is done on most
      other architectures without CONFIG_HIGHPTE.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: Sam Creasey <sammy@sammy.net>
      0eefed84
  5. 05 1月, 2011 17 次提交
  6. 03 1月, 2011 1 次提交
  7. 10 12月, 2010 1 次提交
  8. 18 11月, 2010 1 次提交
  9. 03 11月, 2010 2 次提交
    • P
      m68k, m68knommu: Do not include linux/hardirq.h in asm/irqflags.h · ed35f654
      Philippe De Muyter 提交于
      Recent changes to header files made kernel compilation for m68k/m68knommu
      fail with :
        CC      arch/m68knommu/kernel/asm-offsets.s
      In file included from /archives/linux/git/arch/m68k/include/asm/system.h:2,
                       from include/linux/wait.h:25,
                       from include/linux/mmzone.h:9,
                       from include/linux/gfp.h:4,
                       from include/linux/irq.h:20,
                       from include/asm-generic/hardirq.h:12,
                       from /archives/linux/git/arch/m68k/include/asm/hardirq_no.h:17,
                       from /archives/linux/git/arch/m68k/include/asm/hardirq.h:2,
                       from include/linux/hardirq.h:10,
                       from /archives/linux/git/arch/m68k/include/asm/irqflags.h:5,
                       from include/linux/irqflags.h:15,
                       from include/linux/spinlock.h:53,
                       from include/linux/seqlock.h:29,
                       from include/linux/time.h:8,
                       from include/linux/timex.h:56,
                       from include/linux/sched.h:56,
                       from arch/m68knommu/kernel/asm-offsets.c:12:
      /archives/linux/git/arch/m68k/include/asm/system_no.h: In function ‘__xchg’:
      /archives/linux/git/arch/m68k/include/asm/system_no.h:79: error: implicit
      +declaration of function ‘local_irq_save’
      /archives/linux/git/arch/m68k/include/asm/system_no.h:101: error: implicit
      +declaration of function ‘local_irq_restore’
      
      Fix that
      Signed-off-by: NPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      ed35f654
    • G
      m68knommu: add back in declaration of do_IRQ · 79c1a903
      Greg Ungerer 提交于
      The cleanup and merge of machdep should not have removed the do_IRQ
      declaration. It is needed by the 68328 based targets.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      79c1a903
  10. 28 10月, 2010 2 次提交
  11. 27 10月, 2010 2 次提交
  12. 23 10月, 2010 1 次提交
    • J
      ioctl: Use asm-generic/ioctls.h on m68k (enables termiox) · c3f38a7b
      Jeff Mahoney 提交于
      This patch converts m68k to use asm-generic/ioctls.h instead of its
      own version.
      
      The differences between the arch-specific version and the generic
      version are as follows:
      
      - m68k defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
      - The generic version adds TIOCSRS485 and TIOCGRS485m which are unused
        by any driver available on this architecture.
      - The generic version adds support for termiox
      
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NJeff Mahoney <jeffm@suse.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c3f38a7b