• Steven Rostedt (VMware)'s avatar
    Revert: "ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS" · 6001db02
    Steven Rostedt (VMware) authored
    commit adab66b7 upstream.
    
    It was believed that metag was the only architecture that required the ring
    buffer to keep 8 byte words aligned on 8 byte architectures, and with its
    removal, it was assumed that the ring buffer code did not need to handle
    this case. It appears that sparc64 also requires this.
    
    The following was reported on a sparc64 boot up:
    
       kernel: futex hash table entries: 65536 (order: 9, 4194304 bytes, linear)
       kernel: Running postponed tracer tests:
       kernel: Testing tracer function:
       kernel: Kernel unaligned access at TPC[552a20] trace_function+0x40/0x140
       kernel: Kernel unaligned access at TPC[552a24] trace_function+0x44/0x140
       kernel: Kernel unaligned access at TPC[552a20] trace_function+0x40/0x140
       kernel: Kernel unaligned access at TPC[552a24] trace_function+0x44/0x140
       kernel: Kernel unaligned access at TPC[552a20] trace_function+0x40/0x140
       kernel: PASSED
    
    Need to put back the ...
    6001db02
Kconfig 29.1 KB