Marcus Meissner
53bbc01f78
Copy from home:elvigia:branches:Base:System/syslogd via accept of submit request 24994 revision 2. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/24994 OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=10
26 lines
625 B
Diff
26 lines
625 B
Diff
---
|
|
ksym_mod.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: ksym_mod.c
|
|
===================================================================
|
|
--- ksym_mod.c.orig 2009-11-24 18:12:53.402379000 +0100
|
|
+++ ksym_mod.c 2009-11-24 18:12:56.016116000 +0100
|
|
@@ -91,7 +91,6 @@
|
|
#include <sys/stat.h>
|
|
#include <stdarg.h>
|
|
#include <paths.h>
|
|
-#include <asm/atomic.h>
|
|
#include <limits.h>
|
|
/* #include <linux/version.h> */
|
|
|
|
@@ -129,6 +128,8 @@ err:
|
|
|
|
#define getsyms get_kernel_syms
|
|
|
|
+typedef struct { volatile int counter; } atomic_t;
|
|
+
|
|
struct module
|
|
{
|
|
size_t size_of_struct; /* == sizeof(module) */
|