Skip to content
Snippets Groups Projects
  1. Sep 26, 2022
    • Greg Ungerer's avatar
      m68knommu: fix non-specific 68328 choice interrupt build failure · 750321ac
      Greg Ungerer authored
      
      Compiling for a classic m68k non-MMU target with no specific CPU
      selected fails with the following error:
      
         arch/m68k/68000/ints.c: In function 'process_int':
      >> arch/m68k/68000/ints.c:82:30: error: 'ISR' undeclared (first use in this function)
            82 |         unsigned long pend = ISR;
               |                              ^~~
      
      This interrupt handling code is specific to the 68328 family of 68000
      parts. There is a couple of variants (68EZ328, 68VZ328) and the common
      ancestor of them the strait 68328.
      
      The code here includes a specific header for each variant type. But if
      none is selected then nothing is included to supply the appropriate
      register and bit flags defines.
      
      Rearrange the includes so that at least one type is always included.
      At the very least the 68328 base type should be the fallback, so make
      that true.
      
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
      750321ac
  2. Sep 28, 2014
  3. Dec 05, 2012
  4. Mar 04, 2012
  5. Jul 25, 2011
  6. Mar 29, 2011
  7. Mar 25, 2011
    • Greg Ungerer's avatar
      m68k: merge m68k and m68knommu arch directories · 66d857b0
      Greg Ungerer authored
      
      There is a lot of common code that could be shared between the m68k
      and m68knommu arch branches. It makes sense to merge the two branches
      into a single directory structure so that we can more easily share
      that common code.
      
      This is a brute force merge, based on a script from Stephen King
      <sfking@fdwdc.com>, which was originally written by Arnd Bergmann
      <arnd@arndb.de>.
      
      > The script was inspired by the script Sam Ravnborg used to merge the
      > includes from m68knommu. For those files common to both arches but
      > differing in content, the m68k version of the file is renamed to
      > <file>_mm.<ext> and the m68knommu version of the file is moved into the
      > corresponding m68k directory and renamed <file>_no.<ext> and a small
      > wrapper file <file>.<ext> is used to select between the two version. Files
      > that are common to both but don't differ are removed from the m68knommu
      > tree and files and directories that are unique to the m68knommu tree are
      > moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
      >
      > To select between the the versions of the files, the wrapper uses
      >
      > #ifdef CONFIG_MMU
      > #include <file>_mm.<ext>
      > #else
      > #include <file>_no.<ext>
      > #endif
      
      On top of this file merge I have done a simplistic merge of m68k and
      m68knommu Kconfig, which primarily attempts to keep existing options and
      menus in place. Other than a handful of options being moved it produces
      identical .config outputs on m68k and m68knommu targets I tested it on.
      
      With this in place there is now quite a bit of scope for merge cleanups
      in future patches.
      
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      66d857b0
  8. Mar 15, 2011
  9. Jan 07, 2011
    • Greg Ungerer's avatar
      m68knommu: fix broken setting of irq_chip and handler · 4c65595e
      Greg Ungerer authored
      
      Fix compile error, by using correct loop variable:
      
      arch/m68knommu/platform/68328/ints.c: In function ‘init_IRQ’:
      arch/m68knommu/platform/68328/ints.c:182: error: ‘irq’ undeclared (first use in this function)
      arch/m68knommu/platform/68328/ints.c:182: error: (Each undeclared identifier is reported only once
      arch/m68knommu/platform/68328/ints.c:182: error: for each function it appears in.)
      
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      4c65595e
  10. Oct 21, 2010
    • Greg Ungerer's avatar
      m68knommu: stop using __do_IRQ · 04570b46
      Greg Ungerer authored
      
      The use of __do_IRQ is deprecated, so lets stop using it.
      Generally the interrupts on the supported processors here are
      level triggered, so this is strait forward to switch over to
      using the standard handle_level_irq flow handler. (Although
      some ColdFire parts support edge triggered GPIO line  interrupts
      we have no support for them yet).
      
      Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
      04570b46
  11. Sep 15, 2009
  12. Jul 19, 2007
  13. Mar 07, 2007
  14. Jun 28, 2006
  15. Apr 16, 2005
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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!
      v2.6.12-rc2
      1da177e4
Loading