1. 17 12月, 2014 1 次提交
    • G
      hexagon: Fix build failures in linux-next · cb84c2b4
      Guenter Roeck 提交于
      hexagon:defconfig fails to build in linux-next since commit 332fd7c4
      ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments").
      
      The primary build failure is
      
      arch/hexagon/include/asm/cacheflush.h: In function 'copy_to_user_page':
      arch/hexagon/include/asm/cacheflush.h:89:22: error: 'VM_EXEC' undeclared
      
      This is the result of including of <linux/io.h> from <linux/irq.h>,
      which is now necessary due to the use of readl and writel from irq.h.
      This causes recursive inclusions in hexagon code; cacheflush.h is included
      from mm.h prior to the definition of VM_EXEC.
      
      Fix the problem by moving copy_to_user_page from the hexagon include file to
      arch/hexagon/mm/cache.c, similar to other architectures. After this change,
      several redefinitions of readl and writel are reported. Those are caused
      by recursive inclusions of io.h and asm/cacheflush.h. Fix those problems by
      reducing the number of files included from those files. Also, it was necessary
      to stop including asm-generic/cacheflush.h from asm/cacheflush.h. Instead,
      functionality originally provided by asm-generic/cacheflush.h is now coded
      in asm/cacheflush.h directly.
      
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      signed-off-by: NRichard Kuo <rkuo@codeaurora.org>
      cb84c2b4
  2. 30 8月, 2014 1 次提交
  3. 13 9月, 2013 1 次提交
  4. 04 7月, 2013 2 次提交
    • J
      mm/hexagon: prepare for removing num_physpages and simplify mem_init() · 5dc355c1
      Jiang Liu 提交于
      Prepare for removing num_physpages and simplify mem_init().
      Signed-off-by: NJiang Liu <jiang.liu@huawei.com>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5dc355c1
    • J
      mm: concentrate modification of totalram_pages into the mm core · 0c988534
      Jiang Liu 提交于
      Concentrate code to modify totalram_pages into the mm core, so the arch
      memory initialized code doesn't need to take care of it.  With these
      changes applied, only following functions from mm core modify global
      variable totalram_pages: free_bootmem_late(), free_all_bootmem(),
      free_all_bootmem_node(), adjust_managed_page_count().
      
      With this patch applied, it will be much more easier for us to keep
      totalram_pages and zone->managed_pages in consistence.
      Signed-off-by: NJiang Liu <jiang.liu@huawei.com>
      Acked-by: NDavid Howells <dhowells@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: <sworddragon2@aol.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Jianguo Wu <wujianguo@huawei.com>
      Cc: Joonsoo Kim <js1304@gmail.com>
      Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Cc: Michel Lespinasse <walken@google.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Tang Chen <tangchen@cn.fujitsu.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Wen Congyang <wency@cn.fujitsu.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0c988534
  5. 01 5月, 2013 3 次提交
  6. 19 10月, 2012 1 次提交
  7. 09 10月, 2012 1 次提交
  8. 23 5月, 2012 1 次提交
  9. 01 11月, 2011 7 次提交