of_compat_cmp on various platforms

Jon Smirl jonsmirl at gmail.com
Wed Nov 28 14:46:16 EST 2007


Is this right or should it be the same everywhere?

asm-powerpc/prom.h:#define of_compat_cmp(s1, s2, l)     strcasecmp((s1), (s2))
asm-sparc/prom.h:#define of_compat_cmp(s1, s2, l)       strncmp((s1), (s2), (l))
asm-sparc64/prom.h:#define of_compat_cmp(s1, s2, l)     strncmp((s1), (s2), (l))

-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list