1. 30 Mar, 2004 3 commits
  2. 29 Mar, 2004 2 commits
    • Keith M. Wesolowski's avatar
      [SPARC32]: Update module linking for symbols starting with "." · 2ec523a3
      Keith M. Wesolowski authored
      Rusty did not like the __dot_sym approach and suggested instead:
      
      1) make rem, urem, mul, umul, div and udiv aliases to .rem, .urem etc:
      
         extern int rem(int, int) __attribute__((weak,alias(".rem")));
      
      2) EXPORT_SYMBOL(rem) etc.
      3) Check genksyms recognises that prototype (it should).
      4) Copy "dedotify" from ppc64 to handle them on load.
      
      The only real downside is the risk that someone else will export
      those names, but I think that's pretty unlikely.
      2ec523a3
    • Keith M. Wesolowski's avatar
      Merge foobazco.org:/sources/2.5-bk · 9e8bd663
      Keith M. Wesolowski authored
      into foobazco.org:/sources/2.5-sparc-todave
      9e8bd663
  3. 28 Mar, 2004 12 commits
    • Alain Knaff's avatar
      [PATCH] email address update · 8e764e0d
      Alain Knaff authored
      8e764e0d
    • Benjamin Herrenschmidt's avatar
      [PATCH] fix oops at pmac_zilog rmmod'ing · b5afcdb2
      Benjamin Herrenschmidt authored
      From: Colin Leroy <colin@colino.net>
      
      rmmod'ing pmac_zilog currently oopses because uart_unregister_driver(),
      which nullifies drv->tty_driver, is called before uart_remove_one_port(),
      which uses said drv->tty_driver.
      
      The comment at top of uart_unregister_driver() specifically says we have
      to have removed all our ports via uart_remove_one_port() before.
      b5afcdb2
    • Armin Schindler's avatar
      [PATCH] ISDN CAPI: fix capiminor_alloc() to assign lowest free minor · 62150145
      Armin Schindler authored
      From: Frank A. Uepping
      
         This fixes capiminor_alloc() to assign the lowest free minor for a
         new capi_tty. Thanks to Frank A. Uepping and Tim Woods.
      62150145
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: syscall error test incorrect for 64 bits results · 6c90fb7d
      Benjamin Herrenschmidt authored
      The syscall return path on ppc64 checks if the error is between
      -LAST_ERRNO and 0, if it is, does the usual inversion along with
      setting a CR bit indicating to glibc that an error occured.
      
      However, we had an interesting bug where we used a 32 bits logica
      (unsigned) comparison, thus possibly doing false positives for
      valid 64 bits unsigned values whose low 32 bits happen to be in
      the error range.
      
      Fix that.
      6c90fb7d
    • Felipe Alfaro Solana's avatar
      [PATCH] Add BINFMT_MISC docs for Mono .NET-based binaries · 5f746471
      Felipe Alfaro Solana authored
      Just as there is documentation for BINFMT_MISC and Java bytecodes
      support, I thought it could be interesting to add documentation on how
      to add BINFMT_MISC support for directly running .NET ".exe" binaries
      using the Mono CLR.
      5f746471
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc32: More preempt fixes · 379092d2
      Benjamin Herrenschmidt authored
      This patch fixes more cases of possible preempt issue when testing
      MSR for FP or VEC bits and then doing giveup_fpu or giveup_altivec
      that I missed in my previous round of fixes (bk get helps before
      grepping ;)
      
      I also change the single step and program check exceptions to not
      re-enable interrupts right away on C code entry, it was useless and
      would cause interesting issues with preempt & xmon
      379092d2
    • Roman Zippel's avatar
      [PATCH] add missing <linux/config.h> · 1a336f5d
      Roman Zippel authored
      A few asm/types.h test a config variable without including
      <linux/config.h> first, which can e.g. cause different sector_t
      definitions. HFS fell victim to that and broke on ppc with CONFIG_LBD
      enabled. I scanned all asm/types.h and added <linux/config.h> as
      necessary.
      1a336f5d
    • Neil Brown's avatar
      [PATCH] Fix bugs introduced by recent improvements to readdir_plus · a9b095e4
      Neil Brown authored
       - make sure cd->buffer is always inside a page - previously if an
         entry fit perfectly in the remainder of a page, cd->buffer would
         end up pointing past the end of that page.
      
       - make sure num_entry_words is always correct, even on the error
         path.
      a9b095e4
    • Olof Johansson's avatar
      [PATCH] ppc64: Use full DART table on G5 · 9cfd4af7
      Olof Johansson authored
      This increases the DART table to use the full size.  We allocate a full
      16MB page anyway, so there's no difference in memory consumption. 
      
      Thanks to Ben for spotting this, it was left over from debugging...
      9cfd4af7
    • Olof Johansson's avatar
      [PATCH] ppc64: Fix thinko in iommu allocator · d403ba51
      Olof Johansson authored
      This fixes a bug in the iommu allocator that causes it to behave
      strangely when a fair size of the table is allocated. 
      
      Thanks to Andrew Gallatin for finding this.
      d403ba51
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 34e01aa2
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      34e01aa2
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: Eliminate wait following interface unregistration · 98c81a17
      Greg Kroah-Hartman authored
      This patch from Alan Stern <stern@rowland.harvard.edu> fixes a bug in
      the current USB code that causes khubd to hang when a device is removed
      from the system, thereby preventing any future USB device changes (like
      adding or removing other devices) from happening.
      
      Both Andrew and I can easily duplicate this bug against the current -bk
      tree. 
      
      It's not a perfect fix, but it works for now, and I will spend the next
      week working on restructuring the code so this is handled properly.
      98c81a17
  4. 27 Mar, 2004 23 commits