1. 16 Mar, 2007 9 commits
  2. 13 Mar, 2007 10 commits
  3. 09 Mar, 2007 17 commits
  4. 08 Mar, 2007 4 commits
    • Stephen Rothwell's avatar
      [POWERPC] Allocate syscall number for sys_getcpu · 02567c6c
      Stephen Rothwell authored
      I forgot to do this when wiring up the syscall.
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      02567c6c
    • David Gibson's avatar
      [POWERPC] Automatically lmb_reserve() initrd · 30437b3e
      David Gibson authored
      At present, when an initrd is passed to the kernel used flat device
      tree properties, the memory the initrd occupies must also be reserved
      in the flat tree's reserve map, or the kernel may overwrite it.  That
      makes life more complicated than it could be for the bootwrapper.
      
      This patch makes the kernel automatically reserve the initrd's space.
      That in turn requires parsing the initrd parameters earlier than they
      are currently, in early_init_dt_scan_chosen() instead of
      check_for_initrd().
      Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      30437b3e
    • David Gibson's avatar
      [POWERPC] Allow duplicate lmb_reserve() calls · eb6de286
      David Gibson authored
      At present calling lmb_reserve() (and hence lmb_add_region()) twice
      for exactly the same memory region will cause strange behaviour.
      
      This makes life difficult when booting from a flat device tree with
      memory reserve map.  Which regions are automatically reserved by the
      kernel has changed over time, so it's quite possible a newer kernel
      could attempt to auto-reserve a region which is also explicitly listed
      in the device tree's reserve map, leading to trouble.
      
      This patch avoids the problem by making lmb_reserve() ignore a call to
      reserve a previously reserved region.  It also removes a now redundant
      test designed to avoid one specific case of the problem noted above.
      
      At present, this patch deals only with duplicate reservations of an
      identical region.  Attempting to reserve two different, but
      overlapping regions will still cause problems.  I might post another
      patch later dealing with this case, but I'm avoiding it now since it
      is substantially more complicated to deal with, less likely to occur
      and more likely to indicate a genuine bug elsewhere if it does occur.
      Signed-off-by: default avatarDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      eb6de286
    • Adrian Bunk's avatar
      [POWERPC] Unexport mac_hid_mouse_emulate_buttons · 83ddcf5d
      Adrian Bunk authored
      This patch removes the unused
      EXPORT_SYMBOL(mac_hid_mouse_emulate_buttons).
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      83ddcf5d