1. 19 2月, 2008 1 次提交
  2. 15 2月, 2008 3 次提交
  3. 14 2月, 2008 8 次提交
    • G
      [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE · d4eac750
      Grant Likely 提交于
      CONFIG_DEVICE_TREE was the only user of CONFIG_WANT_DEVICE_TREE but
      it was removed in commit id 25431333
      (bootwrapper: Build multiple cuImages).
      
      This removes CONFIG_WANT_DEVICE_TREE from Kconfig and the defconfigs.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d4eac750
    • M
      [POWERPC] Cell RAS: Remove DEBUG, and add license and copyright · bdb226ba
      Michael Ellerman 提交于
      arch/powerpc/platforms/cell/ras.c still has DEBUG #defined, which is no
      longer necessary.  Disable it - this disables two pr_debugs().
      
      While we're there this file should have a copyright notice and license,
      so add both.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bdb226ba
    • A
      [POWERPC] free_property() must not be __init · 16e543ff
      Adrian Bunk 提交于
      This fixes the following section mismatch:
      
      <--  snip  -->
      
      ...
      WARNING: vmlinux.o(.text+0x55648): Section mismatch in reference from the function .free_node() to the function .init.text:.free_property()
      ...
      
      <--  snip  -->
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      16e543ff
    • A
      [POWERPC] vdso_do_func_patch{32,64}() must be __init · cf8918fe
      Adrian Bunk 提交于
      This fixes the following section mismatches:
      
      <--  snip  -->
      
      ...
      WARNING: vmlinux.o(.text+0xe49c): Section mismatch in reference from the function .vdso_do_func_patch64() to the function .init.text:.find_symbol64()
      WARNING: vmlinux.o(.text+0xe4d0): Section mismatch in reference from the function .vdso_do_func_patch64() to the function .init.text:.find_symbol64()
      WARNING: vmlinux.o(.text+0xe56c): Section mismatch in reference from the function .vdso_do_func_patch32() to the function .init.text:.find_symbol32()
      WARNING: vmlinux.o(.text+0xe5a0): Section mismatch in reference from the function .vdso_do_func_patch32() to the function .init.text:.find_symbol32()
      ...
      
      <--  snip  -->
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      cf8918fe
    • K
      [POWERPC] Remove generated files on make clean · e4ccde02
      Kumar Gala 提交于
      vmlinux.lds and dtc-parser.tab.h get created but never cleaned up.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e4ccde02
    • G
      [POWERPC] PS3: Fix bootwrapper hang bug · e5a21dd8
      Geoff Levand 提交于
      Fix a bug in the lv1_get_repository_node_value() routine of the PS3
      bootwrapper.  Changes in the PS3 system firmware 2.20 cause this bug
      to hang the system when branching from the bootwrapper to the kernel
      _start.
      
      Since the video system has not yet been enabled at the time
      the bug is hit, the system hangs with a blank screen.  Earlier
      firmwares don't cause such a catastrophic failure, and so this
      bug went undetected.
      Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e5a21dd8
    • H
      [POWERPC] Fix DEBUG_PREEMPT warning when warning · 79ccd1be
      Hugh Dickins 提交于
      The powerpc show_regs prints CPU using smp_processor_id: change that to
      raw_smp_processor_id, so that when it's showing a WARN_ON backtrace without
      preemption disabled, DEBUG_PREEMPT doesn't mess up that warning with its own.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      79ccd1be
    • M
      Linux Kernel Markers: support multiple probes · fb40bd78
      Mathieu Desnoyers 提交于
      RCU style multiple probes support for the Linux Kernel Markers.  Common case
      (one probe) is still fast and does not require dynamic allocation or a
      supplementary pointer dereference on the fast path.
      
      - Move preempt disable from the marker site to the callback.
      
      Since we now have an internal callback, move the preempt disable/enable to the
      callback instead of the marker site.
      
      Since the callback change is done asynchronously (passing from a handler that
      supports arguments to a handler that does not setup the arguments is no
      arguments are passed), we can safely update it even if it is outside the
      preempt disable section.
      
      - Move probe arm to probe connection. Now, a connected probe is automatically
        armed.
      
      Remove MARK_MAX_FORMAT_LEN, unused.
      
      This patch modifies the Linux Kernel Markers API : it removes the probe
      "arm/disarm" and changes the probe function prototype : it now expects a
      va_list * instead of a "...".
      
      If we want to have more than one probe connected to a marker at a given
      time (LTTng, or blktrace, ssytemtap) then we need this patch. Without it,
      connecting a second probe handler to a marker will fail.
      
      It allow us, for instance, to do interesting combinations :
      
      Do standard tracing with LTTng and, eventually, to compute statistics
      with SystemTAP, or to have a special trigger on an event that would call
      a systemtap script which would stop flight recorder tracing.
      Signed-off-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Mike Mason <mmlnx@us.ibm.com>
      Cc: Dipankar Sarma <dipankar@in.ibm.com>
      Cc: David Smith <dsmith@redhat.com>
      Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
      Cc: "Frank Ch. Eigler" <fche@redhat.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fb40bd78
  4. 09 2月, 2008 5 次提交
    • S
      ide: introduce HAVE_IDE · ec7748b5
      Sam Ravnborg 提交于
      To allow flexible configuration of IDE introduce HAVE_IDE.
      All archs except arm, um and s390 unconditionally select it.
      For arm the actual configuration determine if IDE is supported.
      
      This is a step towards introducing drivers/Kconfig for arm.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NRussell King - ARM Linux <linux@arm.linux.org.uk>
      Acked-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      ec7748b5
    • M
      CONFIG_HIGHPTE vs. sub-page page tables. · 2f569afd
      Martin Schwidefsky 提交于
      Background: I've implemented 1K/2K page tables for s390.  These sub-page
      page tables are required to properly support the s390 virtualization
      instruction with KVM.  The SIE instruction requires that the page tables
      have 256 page table entries (pte) followed by 256 page status table entries
      (pgste).  The pgstes are only required if the process is using the SIE
      instruction.  The pgstes are updated by the hardware and by the hypervisor
      for a number of reasons, one of them is dirty and reference bit tracking.
      To avoid wasting memory the standard pte table allocation should return
      1K/2K (31/64 bit) and 2K/4K if the process is using SIE.
      
      Problem: Page size on s390 is 4K, page table size is 1K or 2K.  That means
      the s390 version for pte_alloc_one cannot return a pointer to a struct
      page.  Trouble is that with the CONFIG_HIGHPTE feature on x86 pte_alloc_one
      cannot return a pointer to a pte either, since that would require more than
      32 bit for the return value of pte_alloc_one (and the pte * would not be
      accessible since its not kmapped).
      
      Solution: The only solution I found to this dilemma is a new typedef: a
      pgtable_t.  For s390 pgtable_t will be a (pte *) - to be introduced with a
      later patch.  For everybody else it will be a (struct page *).  The
      additional problem with the initialization of the ptl lock and the
      NR_PAGETABLE accounting is solved with a constructor pgtable_page_ctor and
      a destructor pgtable_page_dtor.  The page table allocation and free
      functions need to call these two whenever a page table page is allocated or
      freed.  pmd_populate will get a pgtable_t instead of a struct page pointer.
       To get the pgtable_t back from a pmd entry that has been installed with
      pmd_populate a new function pmd_pgtable is added.  It replaces the pmd_page
      call in free_pte_range and apply_to_pte_range.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f569afd
    • M
      mount options: fix spufs · 90d09e14
      Miklos Szeredi 提交于
      Add a .show_options super operation to spufs.
      
      Use generic_show_options() and save the complete option string in
      spufs_fill_super().
      Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      90d09e14
    • C
      libfs: rename simple_attr_close to simple_attr_release · 74bedc4d
      Christoph Hellwig 提交于
      simple_attr_close implementes ->release so it should be named accordingly.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: <stefano.brivio@polimi.it>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg KH <greg@kroah.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      74bedc4d
    • C
      libfs: allow error return from simple attributes · 8b88b099
      Christoph Hellwig 提交于
      Sometimes simple attributes might need to return an error, e.g. for
      acquiring a mutex interruptibly.  In fact we have that situation in
      spufs already which is the original user of the simple attributes.  This
      patch merged the temporarily forked attributes in spufs back into the
      main ones and allows to return errors.
      
      [akpm@linux-foundation.org: build fix]
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: <stefano.brivio@polimi.it>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Greg KH <greg@kroah.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8b88b099
  5. 08 2月, 2008 14 次提交
  6. 07 2月, 2008 9 次提交