Question on ARC's thread_info
Vineet,
I'm working on a patch series which touches sturct thread_info. ARC's thread_info has the following comment:
* - if the contents of this structure are changed, the assembly constants
* must also be changed
Is this still true? Unless I'm reading the code wrong that case should be handled automatically by the asm-offsets mechanism.
So no manual fixup of magic constants should be needed.
Thanks,
//richard
Quoted 10 lines · Richard Weinberger
Vineet,
I'm working on a patch series which touches sturct
thread_info. ARC'sthread_infohas the following comment:
* - if the contents of this structure are changed, the assembly constants
* must also be changedIs this still true? Unless I'm reading the code wrong that case should be handled automatically by the asm-offsets mechanism.
So no manual fixup of magic constants should be needed.
Yep, I think that is the case too - perhaps the comment is dated when we still had magic constants in code :-)
If not I need to fix it anyways so feel free to change it.
-Vineet