Skip to content
Snippets Groups Projects
  1. May 26, 2021
  2. Jan 18, 2021
  3. Jan 01, 2021
  4. Jan 17, 2019
  5. Jul 18, 2018
  6. May 29, 2018
  7. Nov 03, 2017
    • Luc Van Oostenryck's avatar
      openrisc: pass endianness info to sparse · afa83808
      Luc Van Oostenryck authored
      
      openrisc is big-endian only but sparse assumes the same endianness
      as the building machine.
      This is problematic for code which expect __BYTE_ORDER__ being
      correctly predefined by the compiler which sparse can then
      pre-process differently from what gcc would, depending on the
      building machine endianness.
      
      Fix this by letting sparse know about the architecture endianness.
      
      To: Jonas Bonn <jonas@southpole.se>
      To: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
      To: Stafford Horne <shorne@gmail.com>
      Signed-off-by: default avatarLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
      Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
      afa83808
  8. Nov 05, 2013
    • Chen Gang's avatar
      openrisc: Makefile: append "-D__linux__" to KBUILD_CFLAGS · ee4f96d0
      Chen Gang authored
      
      Need append "_D__linux__" to KBUILD_CFLAGS, just like some of another
      architectures have done, or 'allmodconfig' can not pass compiling.
      
      The related error:
      
          CC [M]  fs/coda/psdev.o
        In file included from include/linux/coda.h:65:0,
                         from fs/coda/psdev.c:45:
        include/uapi/linux/coda.h:221:2: error: expected specifier-qualifier-list before 'u_quad_t'
      
      The related compiler information:
      
        [root@dhcp122 ~]# /usr/local/bin/or32-linux-gcc -v
        Using built-in specs.
        COLLECT_GCC=/usr/local/bin/or32-linux-gcc
        COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/or32-linux/4.5.1-or32-1.0rc1/lto-wrapper
        Target: or32-linux
        Configured with: ../gcc-openrisc/configure --target=or32-linux --disable-nls --enable-languages=c --without-headers --disable-shared --disable-threads --enable-werror=no
        Thread model: single
        gcc version 4.5.1-or32-1.0rc1 (GCC)
      
      Signed-off-by: default avatarChen Gang <gang.chen@asianux.com>
      Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
      ee4f96d0
  9. Dec 03, 2012
    • Stephen Warren's avatar
      openrisc: use new common dtc rule · 19fbd6b2
      Stephen Warren authored
      
      The current rules have the .dtb files build in a different directory
      from the .dts files. This patch changes openrisc to use the generic dtb
      rule which builds .dtb files in the same directory as the source .dts.
      
      This requires renaming arch/openrisc/boot/Makefile to
      arch/openrisc/boot/dts/Makefile, and updating arch/openrisc/Makefile to
      call the new Makefile.
      
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: linux@lists.openrisc.net
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
      19fbd6b2
  10. May 05, 2012
  11. Jul 22, 2011
Loading