1. 06 2月, 2008 3 次提交
  2. 01 2月, 2008 1 次提交
  3. 30 1月, 2008 1 次提交
  4. 28 11月, 2007 3 次提交
    • H
      m32r: Update sys_rt_sigsuspend · c37a3303
      Hirokazu Takata 提交于
      Update sys_rt_sigsuspend() of arch/m32r/signal.c.
      This modification is derived from generic one of kernel/signal.c.
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      c37a3303
    • H
      m32r: Ignore warnings for unused syscalls · 52fda487
      Hirokazu Takata 提交于
      checksyscalls.sh reports warnings for missing syscalls.
      But, on m32r, some legacy syscalls were removed elaborately.
      
      This patch kills warnings for obsolete syscalls, which are
      no longer used in the m32r kernel.
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      52fda487
    • H
      m32r: Add missing syscalls · 59ce3df3
      Hirokazu Takata 提交于
      Add the following 39 syscalls for m32r:
        sys_add_key, sys_request_key, sys_keyctl, sys_ioprio_set,
        sys_ioprio_get, sys_inotify_init, sys_inotify_add_watch,
        sys_inotify_rm_watch, sys_migrate_pages, sys_openat,
        sys_mkdirat, sys_mknodat, sys_fchownat, sys_futimesat,
        sys_fstatat64, sys_unlinkat, sys_renameat, sys_linkat,
        sys_symlinkat, sys_readlinkat, sys_fchmodat, sys_faccessat,
        sys_pselect6, sys_ppoll, sys_unshare, sys_set_robust_list,
        sys_get_robust_list, sys_splice, sys_sync_file_range,
        sys_tee, sys_vmsplice, sys_move_pages, sys_getcpu, sys_epoll_pwait,
        sys_utimensat, sys_signalfd, sys_timerfd, sys_eventfd, sys_fallocate
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      59ce3df3
  5. 23 10月, 2007 2 次提交
    • J
      Add CONFIG_DEBUG_SG sg validation · d6ec0842
      Jens Axboe 提交于
      Add a Kconfig entry which will toggle some sanity checks on the sg
      entry and tables.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      d6ec0842
    • J
      Change table chaining layout · 18dabf47
      Jens Axboe 提交于
      Change the page member of the scatterlist structure to be an unsigned
      long, and encode more stuff in the lower bits:
      
      - Bits 0 and 1 zero: this is a normal sg entry. Next sg entry is located
        at sg + 1.
      - Bit 0 set: this is a chain entry, the next real entry is at ->page_link
        with the two low bits masked off.
      - Bit 1 set: this is the final entry in the sg entry. sg_next() will return
        NULL when passed such an entry.
      
      It's thus important that sg table users use the proper accessors to get
      and set the page member.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      18dabf47
  6. 20 10月, 2007 4 次提交
  7. 19 10月, 2007 1 次提交
    • N
      bitops: introduce lock ops · 26333576
      Nick Piggin 提交于
      Introduce test_and_set_bit_lock / clear_bit_unlock bitops with lock semantics.
      Convert all architectures to use the generic implementation.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Acked-By: NDavid Howells <dhowells@redhat.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Matthew Wilcox <willy@debian.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
      Cc: Richard Curnow <rc@rc0.org.uk>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      26333576
  8. 17 10月, 2007 5 次提交
  9. 03 10月, 2007 1 次提交
  10. 06 9月, 2007 1 次提交
  11. 03 9月, 2007 1 次提交
  12. 01 8月, 2007 1 次提交
  13. 20 7月, 2007 2 次提交
  14. 18 7月, 2007 4 次提交
  15. 17 7月, 2007 3 次提交
  16. 11 7月, 2007 1 次提交
    • A
      lots-of-architectures: enable arbitary speed tty support · 4eb6bf6b
      Alan Cox 提交于
      Add the termios2 structure ready for enabling on most platforms.  One or
      two like Sparc are plain weird so have been left alone.  Most can use the
      same structure as ktermios for termios2 (ie the newer ioctl uses the
      structure matching the current kernel structure)
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Cc: Ian Molton <spyro@f2s.com>
      Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Matthew Wilcox <willy@debian.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
      Cc: Richard Curnow <rc@rc0.org.uk>
      Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4eb6bf6b
  17. 16 5月, 2007 1 次提交
  18. 11 5月, 2007 3 次提交
    • S
      Consolidate asm/poll.h · 04dd08b4
      Stephen Rothwell 提交于
      These files are almost all the same.
      
      This patch could be made even simpler if we don't mind POLLREMOVE turning
      up in a few architectures that didn't have it previously (which should be
      OK as POLLREMOVE is not used anywhere in the current tree).
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      04dd08b4
    • H
      m32r: fix pte_to_pgoff(), pgoff_to_pte() and __swp_type() macros · 23c9bbba
      Hirokazu Takata 提交于
      This patch is required to handle file-mapped or swapped-out pages
      correctly.
      
      - Fix pte_to_pgoff() and pgoff_to_pte() macros not to include
        _PAGE_PROTNONE bit of PTE.
        Mask value for { ACCESSED, N, (R, W, X), L, G } is not 0xef but 0x7f.
      - Fix __swp_type() macro for MAX_SWAPFILES_SHIFT(=5), which is defined
        in include/linux/swap.h.
      
      * M32R TLB format
      
           [0]    [1:19]           [20:23]       [24:31]
           +-----------------------+----+-------------+
           |          VPN          |0000|    ASID     |
           +-----------------------+----+-------------+
           +-+---------------------+----+-+---+-+-+-+-+
           |0         PPN          |0000|N|AC |L|G|V| |
           +-+---------------------+----+-+---+-+-+-+-+
                                      ||   RWX     | |
      * software bits in PTE          ||           | +-- _PAGE_FILE | _PAGE_DIRTY
                                      ||           +---- _PAGE_PRESENT
                                      |+---------------- _PAGE_ACCESSED
                                      +----------------- _PAGE_PROTNONE
      Signed-off-by: NHitoshi Yamamoto <hitoshiy@linux-m32r.org>
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      23c9bbba
    • H
      m32r: fix switch_to macro to push/pop frame pointer if needed · 43c09ce7
      Hirokazu Takata 提交于
      This patch fixes a rarely-happened but severe scheduling problem of
      the recent m32r kernel of 2.6.17-rc3 or later.
      
      In the following previous m32r patch, the switch_to macro was
      modified not to do unnecessary push/pop operations for tuning.
      > [PATCH] m32r: update switch_to macro for tuning
      > 4127272c
      
      In this modification, only 'lr' and 'sp' registers are push/pop'ed,
      assuming that the m32r kernel is always compiled with
      -fomit-frame-pointer option.
      
      However, in 2.6 kernel, kernel/sched.c is irregularly compiled
      with -fno-omit-frame-pointer if CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER
      is not defined.
      
       -- kernel/Makefile --
         :
       ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y)
       # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
       # needed for x86 only.  Why this used to be enabled for all architectures is beyond
       # me.  I suspect most platforms don't need this, but until we know that for sure
       # I turn this off for IA-64 only.  Andreas Schwab says it's also needed on m68k
       # to get a correct value for the wait-channel (WCHAN in ps). --davidm
       CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
       endif
         :
       ---
      
      Therefore, for the recent m32r kernel, we have to push/pop 'fp'
      (frame pointer) if CONFIG_FRAME_POINTER is defined or
      CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER is not defined.
      Signed-off-by: NHitoshi Yamamoto <hitoshiy@linux-m32r.org>
      Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      43c09ce7
  19. 10 5月, 2007 1 次提交
  20. 09 5月, 2007 1 次提交