Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel: Make it compile on 3.18 (maybe older) kernels #1460

Merged
merged 1 commit into from
Mar 18, 2024
Merged

kernel: Make it compile on 3.18 (maybe older) kernels #1460

merged 1 commit into from
Mar 18, 2024

Conversation

Royna2544
Copy link
Contributor

input-event-codes.h:

Input: add input-event-codes header file (torvalds/linux@f902dd8) This was in 4.4-rc, so 4.4.0 or above has it else no.

aio.h:
fs: move struct kiocb to fs.h (torvalds/linux@e2e40f2)

Below this version, we need to explicitly include aio.h for struct kiocb This was in 4.1-rc, so 4.0 or below should do the include

uaccess.h, sched.h was present for long times, but 4.10 splited out to include/sched/ but the current ifdef is not including uaccess.h for lower versions than 4.4. Fix it.

input-event-codes.h:

Input: add input-event-codes header file (torvalds/linux@f902dd8)
This was in 4.4-rc, so 4.4.0 or above has it else no.

aio.h:
fs: move struct kiocb to fs.h (torvalds/linux@e2e40f2)

Below this version, we need to explicitly include aio.h for struct kiocb
This was in 4.1-rc, so 4.0 or below should do the include

uaccess.h, sched.h was present for long times, but 4.10 splited out to include/sched/ but the current
ifdef is not including uaccess.h for lower versions than 4.4. Fix it.
@backslashxx
Copy link
Contributor

Sorry to hijack as I dont have a 3.18 to test with, does this #1464 work on 3.18?

@tiann tiann merged commit d677046 into tiann:main Mar 18, 2024
21 checks passed
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.

3 participants