[PATCH 2/2] backports: patches: update devcoredump patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Due to changes in include/linux/devcoredump.h the patch needs to
be updated.

Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
---
This patch is another shot at devcoredump patch. It just fixes
applying the patch. However, the resulting file now uses the
scatterlist function sg_pcopy_to_buffer() so that will need a
backport for kernels before v3.11.

Regards,
Arend
---
 patches/backport-adjustments/devcoredump.patch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/patches/backport-adjustments/devcoredump.patch b/patches/backport-adjustments/devcoredump.patch
index b438f32..397b317 100644
--- a/patches/backport-adjustments/devcoredump.patch
+++ b/patches/backport-adjustments/devcoredump.patch
@@ -97,18 +97,18 @@
 -__exitcall(devcoredump_exit);
 --- a/include/linux/backport-devcoredump.h
 +++ b/include/linux/backport-devcoredump.h
-@@ -5,7 +5,7 @@
- #include <linux/module.h>
- #include <linux/vmalloc.h>
+@@ -66,7 +66,7 @@ static inline void _devcd_free_sgtable(struct scatterlist *tab
+ }
+ 
  
 -#ifdef CONFIG_DEV_COREDUMP
 +#ifdef CPTCFG_BPAUTO_WANT_DEV_COREDUMP
- void dev_coredumpv(struct device *dev, const void *data, size_t datalen,
- 		   gfp_t gfp);
+ void dev_coredumpv(struct device *dev, void *data, size_t datalen,
+                   gfp_t gfp);
  
-@@ -30,6 +30,6 @@ dev_coredumpm(struct device *dev, struct
+@@ -100,6 +100,6 @@ static inline void dev_coredumpsg(struct device *dev, struct
  {
- 	free(data);
+        _devcd_free_sgtable(table);
  }
 -#endif /* CONFIG_DEV_COREDUMP */
 +#endif /* CPTCFG_BPAUTO_WANT_DEV_COREDUMP */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux