mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
unmodified_drivers: __devinit was removed in linux-3.8
Signed-off-by: Olaf Hering <olaf@aepfle.de> Merge with __init handling. Signed-off-by: Jan Beulich <jbeulich@suse.com> xen-unstable changeset: 26526:a37aa55c3cbc xen-unstable date: Tue Feb 12 10:29:51 UTC 2013
This commit is contained in:
1 parent
b59e671e06
commit
e5c066faac
1 file changed
+10
-1
@@ -13,10 +13,19 @@
|
||||
#define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
|
||||
#endif
|
||||
|
||||
#if defined(_LINUX_INIT_H) && !defined(__init)
|
||||
#ifdef _LINUX_INIT_H
|
||||
|
||||
#ifndef __init
|
||||
#define __init
|
||||
#endif
|
||||
|
||||
#ifndef __devinit
|
||||
#define __devinit
|
||||
#define __devinitdata
|
||||
#endif
|
||||
|
||||
#endif /* _LINUX_INIT_H */
|
||||
|
||||
#if defined(__LINUX_CACHE_H) && !defined(__read_mostly)
|
||||
#define __read_mostly
|
||||
#endif
|
||||
|
||||