1. 16 5月, 2006 1 次提交
  2. 15 5月, 2006 2 次提交
    • A
      [JFFS2] Fix printk format in some error messages. · 184f5652
      Andrew Morton 提交于
      fs/jffs2/nodelist.c: In function `check_node_data':
      fs/jffs2/nodelist.c:441: warning: unsigned int format, different type arg (arg 4)
      fs/jffs2/nodelist.c:464: warning: int format, different type arg (arg 5)
      
      Modified from Andrew's original fix because while his terminal may indeed
      only have eighty columns, mine only has _TWENTYFOUR_ lines. So the
      cosmetic fluff is perfectly OK out past column 80 where it was -- the
      casual reader doesn't _care_ about anything more than the fact that it
      goes 'if (foo) JFFS2_WARNING...', and there's no point wasting a whole
      line to display the tail end of the printk which nobody actually cares
      about.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      184f5652
    • D
      [JFFS2] Don't pack on-medium structures, because GCC emits crappy code · 3e68fbb5
      David Woodhouse 提交于
      If we use __attribute__((packed)), GCC will _also_ assume that the
      structures aren't sensibly aligned, and it'll emit code to cope with
      that instead of straight word load/save. This can be _very_ suboptimal
      on architectures like ARM.
      
      Ideally, we want an attribute which just tells GCC not to do any
      padding, without the alignment side-effects. In the absense of that,
      we'll just drop the 'packed' attribute and hope that everything stays as
      it was (which to be fair is fairly much what we expect). And add some
      paranoia checks in the initialisation code, which should be optimised
      away completely in the normal case.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      3e68fbb5
  3. 14 5月, 2006 10 次提交
  4. 13 5月, 2006 4 次提交
  5. 12 5月, 2006 13 次提交
  6. 10 5月, 2006 1 次提交
  7. 09 5月, 2006 4 次提交
  8. 08 5月, 2006 2 次提交
    • D
      Remove inter_module_xxx() from DiskOnChip drivers. · 5e535429
      David Woodhouse 提交于
      Finally putting it back how it was before Keith got at it -- yay :)
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      5e535429
    • L
      [MTD] Convert physmap to platform driver · 73566edf
      Lennert Buytenhek 提交于
      After dwmw2 let me know it ought to be done, I rewrote the physmap map
      driver to be a platform driver.  I know zilch about the driver model,
      so I probably botched it in some way, but I've done some tests on an
      ixp23xx board which uses physmap, and it all seems to work.
      
      In order to not break existing physmap users, I've added some compat
      code that will instantiate a platform device iff CONFIG_MTD_PHYSMAP_LEN
      is defined and != 0.  Also, I've changed the default value for
      CONFIG_MTD_PHYSMAP_LEN to zero, so that people who inadvertently
      compile in physmap (or new, platform-style, users of physmap) don't get
      burned.
      
      This works pretty well -- the new physmap driver is a drop-in replacement
      for the old one, and works on said ixp23xx board without any code changes
      needed.  (This should hold as long as users don't touch 'physmap_map'
      directly.)
      
      Once all physmap users have been converted to instantiate their own
      platform devices, the compat code can go.  (Or we decide that we can
      change all the in-tree users at the same time, and never merge the
      compat code.)
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      73566edf
  9. 06 5月, 2006 1 次提交
  10. 03 5月, 2006 2 次提交