1. 10 12月, 2012 3 次提交
  2. 26 10月, 2012 1 次提交
    • W
      asm-generic: io: remove {read,write} string functions · b2656a13
      Will Deacon 提交于
      The {read,write}s{b,w,l} functions are not defined across all
      architectures and therefore shouldn't be used by portable drivers. We
      should encourage driver writers to use the io{read,write}{8,16,32}_rep
      functions instead.
      
      This patch removes the {read,write} string functions for the generic IO
      header as they have no place in a new architecture port.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      b2656a13
  3. 25 10月, 2012 1 次提交
    • J
      asm-generic/io.h: remove asm/cacheflush.h include · 9b04ebd1
      James Hogan 提交于
      Including <asm/cacheflush.h> from <asm-generic/io.h> prevents
      cacheflush.h being able to use I/O functions like readl and writel due
      to circular include dependencies. It doesn't appear as if anything from
      cacheflush.h is actually used by the generic io.h, so remove the
      include.
      
      I've compile tested a defconfig compilation of blackfin, openrisc (which
      needed <asm/pgtable.h> including from it's <asm/io.h> to get the PAGE_*
      definitions), and xtensa.
      
      Other architectures which use asm-generic/io.h are score and unicore32,
      and looking at their io.h I don't see any obvious problems.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Acked-by: NJonas Bonn <jonas@southpole.se>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Chen Liqin <liqin.chen@sunplusct.com>
      Cc: Lennox Wu <lennox.wu@gmail.com>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      9b04ebd1
  4. 21 10月, 2012 2 次提交
  5. 20 10月, 2012 33 次提交