Change pr_allow from 32bit to 64bit. I looked at some places in the two files
and it looks to me like all the places are already 64bit safe (or uses already 64bit).
I did not check other files for the use of the structure, but I have a kernel up and running
with this change. As a test I (re-)added the kmem_allow flag (which I would like to add without
the userland part (the revert of this last time was because of the user interface of the
uerland part, not about the feature itself), and this works.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10257 Build 10675: arc lint + arc unit
Event Timeline
Comment Actions
It has only exhausted 16 bits, no? I would think if you added the flag but left pr_allow as plain "unsigned" your kernel would still work.
Comment Actions
Keep it at 32bits, only extend the defines to cover visually 32bits instead of only 16 (and keep
the new flag).