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

meminfo: Replace sys/io.h by direct register accesses. #144

Merged
merged 1 commit into from Nov 10, 2020

Conversation

daym
Copy link
Contributor

@daym daym commented Oct 8, 2020

Signed-off-by: Danny Milosavljevic dannym@scratchpost.org

sys/io.h has been removed in glibc 2.30.

https://sourceware.org/legacy-ml/libc-alpha/2019-08/msg00029.html

  • On 32-bit Arm, support for the port-based I/O emulation and the <sys/io.h>
    header have been removed.

It's easy to just directly access--so I did that...

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Copy link
Contributor

@apritzel apritzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So @vkochan had a similar patch #122, but he did not reply to the comments, and this version here seems to address them all fine.
So we should go ahead with this one. Just compile tested (and I had issues already on Ubuntu 18.04's glibc 2.27).

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.

None yet

3 participants