Skip to content

Add a catch for using different header files depending on linux kernel version#1

Open
lhovo wants to merge 1 commit intovrtsystems:masterfrom
lhovo:patch-1
Open

Add a catch for using different header files depending on linux kernel version#1
lhovo wants to merge 1 commit intovrtsystems:masterfrom
lhovo:patch-1

Conversation

@lhovo
Copy link

@lhovo lhovo commented Feb 14, 2018

Adding a catch to use the correct signal header file based on the linux kernel version.
Newer linux kernels now use linux/sched/signal.h where it use to be linux/signal.h

This patch allows the code to be compiled on both linux versions and find the correct location without compile error.

@sjlongland
Copy link
Contributor

Silly question, what exactly does this do, and what exactly is a kernal?

Ultimately I'd like to clean this driver up and have it merged into the Linux kernel (where it ought to have been from day one) but I can guarantee they'll reject any such patch set with a non-descriptive commit such as this.

@lhovo lhovo changed the title Add a catch for older kernal version Add a catch for using different header files Feb 15, 2018
@lhovo lhovo changed the title Add a catch for using different header files Add a catch for using different header files depending on linux kernel version Feb 15, 2018
@lhovo
Copy link
Author

lhovo commented Feb 15, 2018

Apologies, it was a late night trying to get my hardware working.
I have updated the description and the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments