1. 09 10月, 2012 5 次提交
  2. 06 10月, 2012 2 次提交
    • J
      cross-arch: don't corrupt personality flags upon exec() · 16f3e95b
      Jiri Kosina 提交于
      Historically, the top three bytes of personality have been used for
      things such as ADDR_NO_RANDOMIZE, which made sense only for specific
      architectures.
      
      We now however have a flag there that is general no matter the
      architecture (UNAME26); generally we have to be careful to preserve the
      personality flags across exec().
      
      This patch tries to fix all architectures that forcefully overwrite
      personality flags during exec() (ppc32 and s390 have been fixed recently
      by commits f9783ec8 ("[S390] Do not clobber personality flags on
      exec") and 59e4c3a2 ("powerpc/32: Don't clobber personality flags on
      exec") in a similar way already).
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Chen Liqin <liqin.chen@sunplusct.com>
      Cc: Lennox Wu <lennox.wu@gmail.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      16f3e95b
    • A
      sections: fix section conflicts in arch/sh · 666e81fd
      Andi Kleen 提交于
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      666e81fd
  3. 03 10月, 2012 2 次提交
  4. 19 9月, 2012 2 次提交
  5. 18 9月, 2012 1 次提交
  6. 21 8月, 2012 1 次提交
    • T
      workqueue: deprecate flush[_delayed]_work_sync() · 43829731
      Tejun Heo 提交于
      flush[_delayed]_work_sync() are now spurious.  Mark them deprecated
      and convert all users to flush[_delayed]_work().
      
      If you're cc'd and wondering what's going on: Now all workqueues are
      non-reentrant and the regular flushes guarantee that the work item is
      not pending or running on any CPU on return, so there's no reason to
      use the sync flushes at all and they're going away.
      
      This patch doesn't make any functional difference.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Mattia Dongili <malattia@linux.it>
      Cc: Kent Yoder <key@linux.vnet.ibm.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Alasdair Kergon <agk@redhat.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: linux-wireless@vger.kernel.org
      Cc: Anton Vorontsov <cbou@mail.ru>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Eric Van Hensbergen <ericvh@gmail.com>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Steven Whitehouse <swhiteho@redhat.com>
      Cc: Petr Vandrovec <petr@vandrovec.name>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Avi Kivity <avi@redhat.com> 
      43829731
  7. 09 8月, 2012 2 次提交
  8. 02 8月, 2012 1 次提交
  9. 01 8月, 2012 3 次提交
  10. 31 7月, 2012 1 次提交
  11. 26 7月, 2012 1 次提交
  12. 25 7月, 2012 1 次提交
    • P
      sh: Fix up recursive fault in oops with unset TTB. · 90eed7d8
      Paul Mundt 提交于
      Presently the oops code looks for the pgd either from the mm context or
      the cached TTB value. There are presently cases where the TTB can be
      unset or otherwise cleared by hardware, which we weren't handling,
      resulting in recursive faults on the NULL pgd. In these cases we can
      simply reload from swapper_pg_dir and continue on as normal.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      90eed7d8
  13. 20 7月, 2012 1 次提交
  14. 17 7月, 2012 1 次提交
  15. 12 7月, 2012 1 次提交
  16. 06 7月, 2012 3 次提交
  17. 02 7月, 2012 1 次提交
    • P
      sh: Fix up se7721 GPIOLIB=y build warnings. · 64941d89
      Paul Mundt 提交于
      Presently the SH7720/21 serial code uses asm/gpio.h to get at the CPU
      GPIO port definitions, but in the case of GPIOLIB=y this also includes
      references to generic GPIOLIB routines that we don't have any function
      declarations for, tripping up on -Werror=implicit-function-declaration
      with newer gcc versions:
      
        CC      arch/sh/kernel/cpu/sh3/serial-sh7720.o
      In file included from include/linux/sh_pfc.h:14:0,
                       from arch/sh/include/asm/gpio.h:23,
                       from arch/sh/kernel/cpu/sh3/serial-sh7720.c:5:
      include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
      include/asm-generic/gpio.h:220:2: error: implicit declaration of function '__gpio_get_value' [-Werror=implicit-function-declaration]
      include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
      include/asm-generic/gpio.h:226:2: error: implicit declaration of function '__gpio_set_value' [-Werror=implicit-function-declaration]
      In file included from arch/sh/include/asm/gpio.h:23:0,
                       from arch/sh/kernel/cpu/sh3/serial-sh7720.c:5:
      include/linux/sh_pfc.h: At top level:
      include/linux/sh_pfc.h:121:19: error: field 'chip' has incomplete type
      
      Switch to using the cpu/ version for the port definitions explicitly.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      64941d89
  18. 28 6月, 2012 11 次提交