1. 15 Feb, 2011 3 commits
    • Francesco Virlinzi's avatar
      sh: Change __nosave_XXX symbols to long · 13c12a4e
      Francesco Virlinzi authored
      This patch changes the:
       - __nosave_begin
       - __nosave_end
      symbols from 'void' to 'long' as required by the latest
      Gcc (4.5.2) which raises the compilation error:
      
      cc1: warnings being treated as errors
      arch/sh/kernel/swsusp.c: In function 'pfn_is_nosave':
      arch/sh/kernel/swsusp.c:24:28: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
      Signed-off-by: default avatarFrancesco Virlinzi <francesco.virlinzi@st.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      13c12a4e
    • Stuart Menefy's avatar
      sh: Flush executable pages in copy_user_highpage · a25bbe12
      Stuart Menefy authored
      This resolves a problem seen when using the Android dynamic linker.
      Sometimes the dynamic linker would seg-fault at start up and this
      was eventually traced to the handling of a COW fault for a page which
      was being modified by the linker. If there was no cache aliasing between
      the kernel and the user page, the page was not flushed, leaving the
      newly copied data in the D-cache. However when executing instructions
      from that page, the I-cache is filled directly from external memory,
      rather than the D-cache, and causing garbage to be executed.
      Signed-off-by: default avatarStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      a25bbe12
    • Stuart Menefy's avatar
      sh: Ensure ST40-300 BogoMIPS value is consistent · a0865368
      Stuart Menefy authored
      A strange variation was seen in the BogoMIPS figure for the ST40-300.
      This was eventually tracked down to sensitivity to the alignment of
      the loop. So add an align directive to ensure this doesn't occur.
      Signed-off-by: default avatarStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      a0865368
  2. 14 Feb, 2011 1 commit
  3. 13 Feb, 2011 6 commits
  4. 12 Feb, 2011 25 commits
  5. 11 Feb, 2011 5 commits