source: trunk/target/linux/octeon/patches-2.6.30/001-handle_removal_h_constraint.patch @ 19513

Last change on this file since 19513 was 19513, checked in by florian, 7 years ago

[octeon] move generic config and patches directory to be 2.6.30 specific

File size: 697 bytes
  • arch/mips/include/asm/compiler.h

    This is an incomplete proof of concept that I applied to be able to
    build a 64 bit kernel with GCC-4.4.  It doesn't handle the 32 bit case
    or the R4000_WAR case.
    
    Comments welcome.
    
    Signed-off-by: David Daney <ddaney@caviumnetworks.com>
    ---
     arch/mips/include/asm/compiler.h |    7 +++++++
     2 files changed, 11 insertions(+), 0 deletions(-)
    
    a b  
    1616#define GCC_REG_ACCUM "accum" 
    1717#endif 
    1818 
     19#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) 
     20#define GCC_NO_H_CONSTRAINT 
     21#ifdef CONFIG_64BIT 
     22typedef unsigned int uint128_t __attribute__((mode(TI))); 
     23#endif 
     24#endif 
     25 
    1926#endif /* _ASM_COMPILER_H */ 
Note: See TracBrowser for help on using the repository browser.