1. Dec 10, 2012
  2. Oct 26, 2012
    • Will Deacon's avatar
      asm-generic: io: remove {read,write} string functions · b2656a13
      Will Deacon authored
      
      
      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: default avatarWill Deacon <will.deacon@arm.com>
      b2656a13
  3. Oct 25, 2012
    • James Hogan's avatar
      asm-generic/io.h: remove asm/cacheflush.h include · 9b04ebd1
      James Hogan authored
      
      
      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: default avatarJames Hogan <james.hogan@imgtec.com>
      Acked-by: default avatarJonas 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: default avatarArnd Bergmann <arnd@arndb.de>
      9b04ebd1
  4. Oct 21, 2012
  5. Oct 20, 2012