]> git.pld-linux.org Git - packages/apmd.git/commitdiff
- use <linux/spinlock.h> instead of <asm/spinlock.h> (needed on Linux 2.4.x)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 6 Oct 2003 14:41:18 +0000 (14:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apmd-spinlock.patch -> 1.2

apmd-spinlock.patch

index 4cbab62bd556779c85f9e2cbaca2c4a70e59c904..03c35e946b3fd7ae3274689082485aafaa7cbbd0 100644 (file)
@@ -1,19 +1,11 @@
-diff -Naur apmd.orig/apmsleep.c apmd/apmsleep.c
---- apmd.orig/apmsleep.c       Fri May 11 22:30:08 2001
-+++ apmd/apmsleep.c    Sat Jun 15 18:39:08 2002
-@@ -45,9 +45,12 @@
- #include <stdio.h>
+--- apmd/apmsleep.c.orig       Fri May 11 22:30:08 2001
++++ apmd/apmsleep.c    Mon Oct  6 16:38:09 2003
+@@ -46,7 +46,7 @@
  #include <linux/version.h>
  
--#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0)
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0)
 -#include <asm/spinlock.h>
--#endif
-+/* 
-+ // fixme baby 
-+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0)
-+ #include <asm/spinlock.h>
-+ #endif
-+*/
++#include <linux/spinlock.h>
+ #endif
  
  #include <linux/mc146818rtc.h>
- #include <sys/ioctl.h>
This page took 0.044083 seconds and 4 git commands to generate.