)]}'
{
  "commit": "26ef5c09576496dfd08d2b36ec1d08a6f917a0eb",
  "tree": "6a0bc875966eb00dc04dc2fdf7deeac96262698b",
  "parents": [
    "e130bedb7ce718a8eb6b56a3806b96281f618111"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Thu Nov 10 11:50:16 2005 +1100"
  },
  "committer": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Thu Nov 10 13:09:22 2005 +1100"
  },
  "message": "[PATCH] powerpc: Merge cacheflush.h and cache.h\n\nThe ppc32 and ppc64 versions of cacheflush.h were almost identical.\nThe two versions of cache.h are fairly similar, except for a bunch of\nregister definitions in the ppc32 version which probably belong better\nelsewhere.  This patch, therefore, merges both headers.  Notable\npoints:\n\t- there are several functions in cacheflush.h which exist only\non ppc32 or only on ppc64.  These are handled by #ifdef for now, but\nthese should probably be consolidated, along with the actual code\nbehind them later.\n\t- Confusingly, both ppc32 and ppc64 have a\nflush_dcache_range(), but they\u0027re subtly different: it uses dcbf on\nppc32 and dcbst on ppc64, ppc64 has a flush_inval_dcache_range() which\nuses dcbf.  These too should be merged and consolidated later.\n\t- Also flush_dcache_range() was defined in cacheflush.h on\nppc64, and in cache.h on ppc32.  In the merged version it\u0027s in\ncacheflush.h\n\t- On ppc32 flush_icache_range() is a normal function from\nmisc.S.  On ppc64, it was wrapper, testing a feature bit before\ncalling __flush_icache_range() which does the actual flush.  This\npatch takes the ppc64 approach, which amounts to no change on ppc32,\nsince CPU_FTR_COHERENT_ICACHE will never be set there, but does mean\nrenaming flush_icache_range() to __flush_icache_range() in\narch/ppc/kernel/misc.S and arch/powerpc/kernel/misc_32.S\n\t- The PReP register info from asm-ppc/cache.h has moved to\narch/ppc/platforms/prep_setup.c\n\t- The 8xx register info from asm-ppc/cache.h has moved to a\nnew asm-powerpc/reg_8xx.h, included from reg.h\n\t- flush_dcache_all() was defined on ppc32 (only), but was\nnever called (although it was exported).  Thus this patch removes it\nfrom cacheflush.h and from ARCH\u003dpowerpc (misc_32.S) entirely.  It\u0027s\nleft in ARCH\u003dppc for now, with the prototype moved to ppc_ksyms.c.\n\nBuilt for Walnut (ARCH\u003dppc), 32-bit multiplatform (pmac, CHRP and PReP\nARCH\u003dppc, pmac and CHRP ARCH\u003dpowerpc).  Built and booted on POWER5\nLPAR (ARCH\u003dpowerpc and ARCH\u003dppc64).\n\nBuilt for 32-bit powermac (ARCH\u003dppc and ARCH\u003dpowerpc).  Built and\nbooted on POWER5 LPAR (ARCH\u003dpowerpc and ARCH\u003dppc64).  Built and booted\non G5 (ARCH\u003dpowerpc)\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3bedb532aed92c271c6cdd6b1698071d3ed5e30e",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/misc_32.S",
      "new_id": "f6d84a75ed266bbc2042da47f0c887f59796604b",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/misc_32.S"
    },
    {
      "type": "modify",
      "old_id": "ae6af29938a1efc96513a6b8f33d25667d248f4f",
      "old_mode": 33188,
      "old_path": "arch/ppc/kernel/misc.S",
      "new_id": "5e61124581d03fda7f374379eb76ae7176240fc8",
      "new_mode": 33188,
      "new_path": "arch/ppc/kernel/misc.S"
    },
    {
      "type": "modify",
      "old_id": "6550de73a8551fe1aeec0b3fb3589492c87880c6",
      "old_mode": 33188,
      "old_path": "arch/ppc/kernel/ppc_ksyms.c",
      "new_id": "307077f14936db7e12ea9a62dd13c538dc3b6c3a",
      "new_mode": 33188,
      "new_path": "arch/ppc/kernel/ppc_ksyms.c"
    },
    {
      "type": "modify",
      "old_id": "067d7d53b81e76fc7fe097cc56f99307770e5025",
      "old_mode": 33188,
      "old_path": "arch/ppc/platforms/prep_setup.c",
      "new_id": "4415748071dc8836faaa6f4e6752f4cb12e865ca",
      "new_mode": 33188,
      "new_path": "arch/ppc/platforms/prep_setup.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "26ce502e76e82ace309a08a40b0da98d8edd7c65",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/cache.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8a740c88d93df265b4f66b1bb31fda5d995e41da",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/cacheflush.h"
    },
    {
      "type": "modify",
      "old_id": "489cf4c99c21470c7856856aa6f4a8c3377a4083",
      "old_mode": 33188,
      "old_path": "include/asm-powerpc/reg.h",
      "new_id": "ef121f4f0bab2d82b25ea19d8f66008f9fead804",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/reg.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e8ea346b21d38af5b5d327e00f8b28ac9baf22ba",
      "new_mode": 33188,
      "new_path": "include/asm-powerpc/reg_8xx.h"
    },
    {
      "type": "delete",
      "old_id": "7a157d0f4b5fd646294fff69827f4746ef96e085",
      "old_mode": 33188,
      "old_path": "include/asm-ppc/cache.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "6a243efb3317446374527641a8cc402ff59587ae",
      "old_mode": 33188,
      "old_path": "include/asm-ppc/cacheflush.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "92140a7efbd1e80ebccd9df0268c181471f3c1c9",
      "old_mode": 33188,
      "old_path": "include/asm-ppc64/cache.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "ffbc08be8e520d26188627272682e993a4871eab",
      "old_mode": 33188,
      "old_path": "include/asm-ppc64/cacheflush.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
