Re: [Libhugetlbfs-devel] [PATCH] ARM: mark direct_syscall as a FUNC

2014-02-22 Thread Munson, Eric
On 2014-02-20 09:46, Steve Capper wrote: > direct_syscall is ARM state assembler. If libhugetlbfs is compiled for > the Thumb state it does not currently change execution states when it > calls direct_syscall, leading to unpredictable behaviour. > > This patch marks direct_syscall as a FUNC, which

[Libhugetlbfs-devel] [PATCH] ARM: mark direct_syscall as a FUNC

2014-02-20 Thread Steve Capper
direct_syscall is ARM state assembler. If libhugetlbfs is compiled for the Thumb state it does not currently change execution states when it calls direct_syscall, leading to unpredictable behaviour. This patch marks direct_syscall as a FUNC, which enables the ARM/Thumb state interworking; resultin