1. 19 6月, 2008 1 次提交
  2. 17 10月, 2007 1 次提交
    • F
      convert ill defined log2() to ilog2() · e57aa839
      Fengguang Wu 提交于
      It's *wrong* to have
      			#define log2(n) ffz(~(n))
      It should be *reversed*:
      			#define log2(n) flz(~(n))
      or
      			#define log2(n) fls(n)
      or just use
      			ilog2(n) defined in linux/log2.h.
      
      This patch follows the last solution, recommended by Andrew Morton.
      
      Cc: <linux-ext4@vger.kernel.org>
      Cc: Mingming Cao <cmm@us.ibm.com>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Chris Ahna <christopher.j.ahna@intel.com>
      Cc: David Mosberger-Tang <davidm@hpl.hp.com>
      Cc: Kyle McMartin <kyle@parisc-linux.org>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Signed-off-by: NFengguang Wu <wfg@mail.ustc.edu.cn>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e57aa839
  3. 25 8月, 2007 1 次提交
    • S
      agp: balance ioremap checks · 5bdbc7dc
      Scott Thompson 提交于
      patchset against 2.6.23-rc3.
      corrects missing ioremap return checks and balancing on iounmap calls, integrated changes per list
      recommendations on the original set of patches..
      
      Signed-off-by: Scott Thompson <postfail <at> hushmail.com>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      5bdbc7dc
  4. 27 2月, 2007 1 次提交
    • R
      [AGPGART] fix compile errors · e047d1cf
      Ryusuke Konishi 提交于
      This fixes the following compile failures of agpgart drivers.
      These errors were inserted by the recent AGPGART constification patch.
      
      drivers/char/agp/uninorth-agp.c:492: error: expected '{' before 'const'
      drivers/char/agp/uninorth-agp.c:517: error: expected '{' before 'const'
      drivers/char/agp/uninorth-agp.c: In function 'agp_uninorth_probe':
      drivers/char/agp/uninorth-agp.c:634: error: 'u3_agp_driver' undeclared (first use in this function)
      drivers/char/agp/uninorth-agp.c:634: error: (Each undeclared identifier is reported only once
      drivers/char/agp/uninorth-agp.c:634: error: for each function it appears in.)
      drivers/char/agp/uninorth-agp.c:636: error: 'uninorth_agp_driver' undeclared (first use in this function)
      Signed-off-by: NRyusuke Konishi <ryusuke@osrg.net>
      Signed-off-by: NDave Jones <davej@redhat.com>
      e047d1cf
  5. 23 2月, 2007 1 次提交
  6. 04 2月, 2007 1 次提交
    • T
      [AGPGART] Allow drm-populated agp memory types · a030ce44
      Thomas Hellstrom 提交于
      This patch allows drm to populate an agpgart structure with pages of its own.
      It's needed for the new drm memory manager which dynamically flips pages in and out of AGP.
      
      The patch modifies the generic functions as well as the intel agp driver. The intel drm driver is
      currently the only one supporting the new memory manager.
      
      Other agp drivers may need some minor fixing up once they have a corresponding memory manager enabled drm driver.
      
      AGP memory types >= AGP_USER_TYPES are not populated by the agpgart driver, but the drm is expected
      to do that, as well as taking care of cache- and tlb flushing when needed.
      
      It's not possible to request these types from user space using agpgart ioctls.
      
      The Intel driver also gets a new memory type for pages that can be bound cached to the intel GTT.
      Signed-off-by: NThomas Hellstrom <thomas@tungstengraphics.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      a030ce44
  7. 02 4月, 2006 1 次提交
  8. 28 2月, 2006 1 次提交
  9. 17 9月, 2005 1 次提交
  10. 08 6月, 2005 1 次提交
    • K
      [PATCH] AGP fix for Xen VMM · 07eee78e
      Keir Fraser 提交于
      When Linux is running on the Xen virtual machine monitor, physical
      addresses are virtualised and cannot be directly referenced by the AGP
      GART.  This patch fixes the GART driver for Xen by adding a layer of
      abstraction between physical addresses and 'GART addresses'.
      
      Architecture-specific functions are also defined for allocating and freeing
      the GATT.  Xen requires this to ensure that table really is contiguous from
      the point of view of the GART.
      
      These extra interface functions are defined as 'no-ops' for all existing
      architectures that use the GART driver.
      Signed-off-by: NKeir Fraser <keir@xensource.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDave Jones <davej@redhat.com>
      07eee78e
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4