Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103549 Details for
Bug 157307
vmware-modules-1.0.0.1{3,5}-r1 fails on kernel 2.6.19-rc{5,6}-mm{1,2}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new compat_kernel.h
compat_kernel.h (text/plain), 1.21 KB, created by
Florian Demski
on 2006-12-07 09:09:27 UTC
(
hide
)
Description:
new compat_kernel.h
Filename:
MIME Type:
Creator:
Florian Demski
Created:
2006-12-07 09:09:27 UTC
Size:
1.21 KB
patch
obsolete
>#ifndef __COMPAT_KERNEL_H__ ># define __COMPAT_KERNEL_H__ > >#include <asm/unistd.h> > >/* > * Used by _syscallX macros. Note that this is global variable, so > * do not rely on its contents too much. As exit() is only function > * we use, and we never check return value from exit(), we have > * no problem... > */ >extern int errno; > > >/* > * compat_exit() provides an access to the exit() function. It must > * be named compat_exit(), as exit() (with different signature) is > * provided by x86-64, arm and other (but not by i386). > */ >//#define __NR_compat_exit __NR_exit >//static inline _syscall1(int, compat_exit, int, exit_code); > > >/* > * wait_for_completion and friends did not exist before 2.4.9. > */ >#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 9) > >#define compat_complete_and_exit(comp, status) complete_and_exit(comp, status) > >#else > >/* > * See compat_wait_for_completion in compat_completion.h. > * compat_exit implicitly performs an unlock_kernel, in resident code, > * ensuring that the thread is no longer running in module code when the > * module is unloaded. > */ >#define compat_complete_and_exit(comp, status) do { \ > lock_kernel(); \ > up(comp); \ > compat_exit(status); \ >} while (0) > >#endif > > >#endif /* __COMPAT_KERNEL_H__ */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 157307
: 103549 |
103551
|
104214
|
105147