1. 29 4月, 2014 4 次提交
    • S
      sparc32: fix sparse warnings in unaligned_32.c · 9edfae3f
      Sam Ravnborg 提交于
      Fix following warnings:
      unaligned_32.c:146:15: warning: symbol 'safe_compute_effective_address' was not declared. Should it be static?
      unaligned_32.c:235:17: warning: symbol 'kernel_unaligned_trap' was not declared. Should it be static?
      unaligned_32.c:319:17: warning: symbol 'user_unaligned_trap' was not declared. Should it be static?
      
      Add proper declarations in kernel.h + setup.h
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9edfae3f
    • S
      sparc32: fix sparse warning in devices.c · 8885ec7c
      Sam Ravnborg 提交于
      Fix following warning:
      devices.c:114:13: warning: symbol 'device_scan' was not declared. Should it be static?
      
      Add prototype to asm/setup.h
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8885ec7c
    • S
      sparc32: fix sparse warnings in setup_32.c · d191723f
      Sam Ravnborg 提交于
      Fix following warnings:
      setup_32.c:106:15: warning: symbol 'cmdline_memory_size' was not declared. Should it be static?
      setup_32.c:270:16: warning: symbol 'fake_swapper_regs' was not declared. Should it be static?
      setup_32.c:368:55: warning: Using plain integer as NULL pointer
      
      Add missing declaration of cmdline_memory_size and remove the local one in init_32.c
      fake_swapper_regs was only used locally - so defined static.
      When replacing 0 with NULL also add a few spaces around operators
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d191723f
    • S
      sparc32: fix sparse warnings in irq_32.c · fbb86383
      Sam Ravnborg 提交于
      Fix following warnings:
      irq_32.c:239:5: warning: symbol 'sparc_floppy_request_irq' was not declared. Should it be static?
      irq_32.c:294:24: warning: symbol 'fdc_status' was not declared. Should it be static?
      irq_32.c:297:6: warning: symbol 'pdma_vaddr' was not declared. Should it be static?
      irq_32.c:300:15: warning: symbol 'pdma_size' was not declared. Should it be static?
      irq_32.c:303:14: warning: symbol 'doing_pdma' was not declared. Should it be static?
      irq_32.c:306:6: warning: symbol 'pdma_base' was not declared. Should it be static?
      irq_32.c:309:15: warning: symbol 'pdma_areasize' was not declared. Should it be static?
      irq_32.c:317:6: warning: symbol 'sparc_floppy_irq' was not declared. Should it be static?
      
      The floppy parts were all added to iasm/setup.h - no other header files looked obvious.
      floppy_32.h was not an option as this file can only be included once from the
      floppy driver.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fbb86383
  2. 09 10月, 2012 1 次提交
  3. 20 5月, 2012 2 次提交
  4. 29 3月, 2012 1 次提交
  5. 22 4月, 2011 1 次提交
    • D
      sparc32: always define boot_cpu_id · 5fcafb7a
      Daniel Hellstrom 提交于
      Define boot_cpu_id in single-processor kernels as well. This is
      to support architectures which can boot on other than CPU0.
      
      Sam Ravnborg has written the cleanup parts by extracting
      boot_cpu_id from smp_32.c into setup_32.c and cleaned up
      sun4d_irq.c.
      
      boot_cpu_id was initialized before BSS was cleared in
      sun4c_continue_boot, instead boot_cpu_id is set to 0xff to
      avoid BSS. If boot_cpu_id is untouched (0xff) by bootup code
      it will be overwritten to 0. boot_cpu_id4 is automatically
      calculated in common code.
      Signed-off-by: NDaniel Hellstrom <daniel@gaisler.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5fcafb7a
  6. 28 7月, 2008 1 次提交
    • S
      sparc, sparc64: use arch/sparc/include · a439fe51
      Sam Ravnborg 提交于
      The majority of this patch was created by the following script:
      
      ***
      ASM=arch/sparc/include/asm
      mkdir -p $ASM
      git mv include/asm-sparc64/ftrace.h $ASM
      git rm include/asm-sparc64/*
      git mv include/asm-sparc/* $ASM
      sed -ie 's/asm-sparc64/asm/g' $ASM/*
      sed -ie 's/asm-sparc/asm/g' $ASM/*
      ***
      
      The rest was an update of the top-level Makefile to use sparc
      for header files when sparc64 is being build.
      And a small fixlet to pick up the correct unistd.h from
      sparc64 code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a439fe51
  7. 18 7月, 2008 1 次提交
    • S
      sparc: Merge asm-sparc{,64}/setup.h · 7c4285d8
      Sam Ravnborg 提交于
      COMMAND_LINE_SIZE differ for 32 and 64 bit.
      256 versus 2048
      
      :$ diff -u include/asm-sparc/setup.h include/asm-sparc64/setup.h
      :-- include/asm-sparc/setup.h	2008-06-13 06:42:07.000000000 +0200
      :++ include/asm-sparc64/setup.h	2008-06-13 06:42:07.000000000 +0200
      :@@ -2,9 +2,9 @@
      :  *	Just a place holder.
      :  */
      :
      :-#ifndef _SPARC_SETUP_H
      :-#define _SPARC_SETUP_H
      :+#ifndef _SPARC64_SETUP_H
      :+#define _SPARC64_SETUP_H
      :
      :-#define COMMAND_LINE_SIZE	256
      :+#define COMMAND_LINE_SIZE	2048
      :
      :-#endif /* _SPARC_SETUP_H */
      :+#endif /* _SPARC64_SETUP_H */
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      7c4285d8
  8. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4