Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

weird code


                if (__predict_false(sizeof(register_t) != sizeof(REGISTER_T)

#ifndef REGISTER_T
#define REGISTER_T	register_t

-- No other definitions of REGISTER_T in sys/

Isn't this:
- Always false
- Can inline REGISTER_T

Like this was probably for 32bit compat

while here, the COMPAT_LINUX code in the same file (lines 114-117) looks bogus.

(if I'm reading the code correctly it's thinking the syscall num is in
r0, but it's in r8 in linux.

Home | Main Index | Thread Index | Old Index