Hi
> 
> Sorry for the late feedback. I don't understand what you're
> testing in getcpu2 -- getcpu() has no input arguments (except
> for the cache).  So why do you expect it to fail with 0xff?
> 
> -Andi
Andi
getcpu2 is written only for x86. I was trying this to check the error 
return value from the sys_getcpu() by sending wrong address (Invalid 
address) to put_user.
Let me know if there is any better way of doing it

Subrata/Kamlesh
    Thanks for providing in puts, I need to change the if condition for 
checking kernel version. But Make file should be fine as it has worked 
for me. I have got the machine required for testing will fix the problem 
and send the re-worked patch
Thanks
Sharyathi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to