With a quick search I found that the file "irq_vectors.h" is with kernal 2.6 and not with 2.4. As I all ready mention this is a part of architecture dependent code. But I am surprise as you told that your code compiles on 2.4 and not 2.6.
Quote:
how change in my source will resolve this problem
|
Yes, I told that if you want your code to be used with kernel 2.6 you will have to make changes, but this is not as simple as I said. irq_vectors are used by 2.4 as well, but I did not find any "irq_vectors.h" with 2.4, it is there with 2.6. I think it is similar(may not be same) as hw_irq.h in 2.4 which is the architecture dependent code.(note that replacing it will not work)
I tried to answer you questions, still I can help more provided I have some knowledge about your code. You actually need to have a in depth look into the two implementations to make you code change. I am sorry to put it very simply, but its not that simple to do it.