Compiling with smp.h throwing errors in IA 64 2.6 kernel SLES10
I have written a simple program
#include<linux/smp.h>
int main()
{
unsigned int a;
a=get_cpu();
return 0;
}
It is throwing errors related to linux header files in /usr/include...
how can I get rid of this compilation error??
If any patch is available for this please let me know
Also, if we can get current cpuid by some other means so as to avoid these errors, please tell me
|