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

Use asm/type.h for kernel types #29

Merged
merged 1 commit into from
Mar 14, 2021

Conversation

kraj
Copy link
Contributor

@kraj kraj commented Mar 12, 2021

This ensures that right headers for types is included otherwise it can
conflict for some platforms e.g. ppc64 where it includes the underlying
files conditionally

asm/types.h is

if !defined(SANE_USERSPACE_TYPES) && defined(powerpc64) && !defined(KERNEL)
include <asm-generic/int-l64.h>
else
include <asm-generic/int-ll64.h>
endif

Signed-off-by: Khem Raj raj.khem@gmail.com

This ensures that right headers for types is included otherwise it can
conflict for some platforms e.g. ppc64 where it includes the underlying
files conditionally

asm/types.h is

if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__)
 include <asm-generic/int-l64.h>
else
 include <asm-generic/int-ll64.h>
endif

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Copy link
Contributor

@arthur-simchaev-wdc arthur-simchaev-wdc left a comment

Choose a reason for hiding this comment

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

Correct

@arthur-simchaev-wdc arthur-simchaev-wdc merged commit 4ee6576 into westerndigitalcorporation:dev Mar 14, 2021
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

2 participants