From 6b7f14ab78af0efd4f4b519530288724323b8284 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Wed, 8 Aug 2012 10:26:10 +0200 Subject: [PATCH] Added patch kstrtol.diff which define macro kstrtol as strict_strtol In upstream kernel strict_strtol is deprecated and renamed to kstrtol --- kernel-power-2.6.28/debian/patches/kstrtol.diff | 11 +++++++++++ kernel-power-2.6.28/debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 kernel-power-2.6.28/debian/patches/kstrtol.diff diff --git a/kernel-power-2.6.28/debian/patches/kstrtol.diff b/kernel-power-2.6.28/debian/patches/kstrtol.diff new file mode 100644 index 0000000..99fcf55 --- /dev/null +++ b/kernel-power-2.6.28/debian/patches/kstrtol.diff @@ -0,0 +1,11 @@ +--- kernel-power/include/linux/kernel.h 2012-08-08 10:22:54.676618794 +0200 ++++ kernel-power/include/linux/kernel.h 2012-08-08 10:23:55.148617030 +0200 +@@ -191,6 +191,8 @@ extern int kernel_text_address(unsigned + struct pid; + extern struct pid *session_of_pgrp(struct pid *pgrp); + ++#define kstrtol strict_strtol ++ + /* + * FW_BUG + * Add this to a message where you are sure the firmware is buggy or behaves diff --git a/kernel-power-2.6.28/debian/patches/series b/kernel-power-2.6.28/debian/patches/series index 50f0f8e..a9e5ebe 100644 --- a/kernel-power-2.6.28/debian/patches/series +++ b/kernel-power-2.6.28/debian/patches/series @@ -10,6 +10,7 @@ nokia-20103103+0m5.diff #nokia-20103103+0m5_usb.diff 2.6.28.10.diff rx51_defconfig.diff +kstrtol.diff unionfs-2.5.3.diff dm-loop.diff usbip.diff -- 1.7.9.5