History

x86: asm-x86/msr.h: pull in linux/types.h

Since the msr.h header uses types like __u32, it should pull in linux/types.h. [ mingo@elte.hu: affects user-space that includes this header. We dont actually like user-space including raw kernel headers but it's a longstanding practice and it's easy for the kernel to be nice about this. ]

Mike Frysinger committed 18 years ago

Commit d43a3311 parent 23be8c71 file · +4 −0Browse files

Unified · Split

include/asm-x86/msr.h+4−0
@@ -3,6 +3,10 @@ · 2 unmodified lines
33
44 #include <asm/msr-index.h>
55
6+#ifndef __ASSEMBLY__
7+# include <linux/types.h>
8+#endif
9+
610 #ifdef __i386__
711
812 #ifdef __KERNEL__

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t