Skip to content

Commit

Permalink
Fix a build error in kgtp.
Browse files Browse the repository at this point in the history
- patches.taobao/kernel-gdb-trace-point.patch:
  • Loading branch information
taoma-tm committed Aug 24, 2012
1 parent 418b2fc commit cfeb8a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions kernel-source.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Aug 25 00:40:02 CST 2012 - [email protected]

Fix a build error in kgtp.

- patches.taobao/kernel-gdb-trace-point.patch:

-------------------------------------------------------------------
Fri Aug 24 23:29:22 CST 2012 - [email protected]

Expand Down
4 changes: 2 additions & 2 deletions patches.taobao/kernel-gdb-trace-point.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6275,7 +6275,7 @@ Index: linux-2.6.32-279.2.1.el5/lib/gtp.c
+}
+
+static long
+gtp_task_handler_read(void *dst, const void *src, size_t size)
+gtp_task_handler_read(void *dst, void *src, size_t size)
+{
+ if (gtp_task_read(0, get_current(),
+ (unsigned long)src, dst, size, 1) != size)
Expand Down Expand Up @@ -6387,7 +6387,7 @@ Index: linux-2.6.32-279.2.1.el5/lib/gtp.c
+ struct gtp_entry *tpe;
+ struct pt_regs *regs;
+ long (*read_memory)(void *dst,
+ const void *src,
+ void *src,
+ size_t size);
+#ifdef GTP_FRAME_SIMPLE
+ /* Next part set it to prev part. */
Expand Down

0 comments on commit cfeb8a5

Please sign in to comment.