Magellan Linux

Contents of /trunk/nvidia/1.0.7676/NVIDIA_kernel-1.0-7667-KERNEL_VERSION-moved.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 1764 byte(s)
-import

1 diff -urpN nv/conftest.sh nv.az/conftest.sh
2 --- nv/conftest.sh 2005-06-17 16:50:43.000000000 +0200
3 +++ nv.az/conftest.sh 2005-07-17 00:30:54.000000000 +0200
4 @@ -212,6 +212,9 @@ case "$4" in
5 # Determine the kernel version using a compile check.
6 #
7 echo "#include \"linux/version.h\"
8 + #ifndef KERNEL_VERSION
9 + # include <linux/utsname.h>
10 + #endif
11 int main() {
12 if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) {
13 return 0;
14 @@ -290,6 +293,9 @@ case "$4" in
15 #
16
17 echo "#include \"linux/version.h\"
18 + #ifndef KERNEL_VERSION
19 + # include <linux/utsname.h>
20 + #endif
21 int main() {
22 printf(\"%s\n\", UTS_RELEASE);
23 return 0;
24 @@ -369,6 +375,9 @@ case "$4" in
25
26 echo "#include <linux/version.h>
27 #include <linux/mm.h>
28 + #ifndef KERNEL_VERSION
29 + # include <linux/utsname.h>
30 + #endif
31 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
32 #include <asm/cacheflush.h>
33 #endif
34 @@ -460,6 +469,9 @@ case "$4" in
35 VERBOSE=$5
36
37 echo "#include <linux/version.h>
38 + #ifndef KERNEL_VERSION
39 + # include <linux/utsname.h>
40 + #endif
41 #include <linux/autoconf.h>
42 #if defined(CONFIG_X86_64) && \
43 LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) && \
44 diff -urpN nv/nv-linux.h nv.az/nv-linux.h
45 --- nv/nv-linux.h 2005-06-17 16:50:42.000000000 +0200
46 +++ nv.az/nv-linux.h 2005-07-17 00:31:06.000000000 +0200
47 @@ -16,6 +16,9 @@
48
49 #include <linux/config.h>
50 #include <linux/version.h>
51 +#ifndef KERNEL_VERSION
52 +# include <linux/utsname.h>
53 +#endif
54
55
56 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)

Properties

Name Value
svn:executable *