Commit 091d6c39 authored by Seblu's avatar Seblu
Browse files

up kernel


git-svn-id: https://seblu.net/s/archpkg@46 02741741-5192-46b8-8916-7152b19231d9
parent 095c372c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu@seblu.net>
pkgname=kernel-rwolf
pkgver=2.6.37
pkgver=2.6.37.2
pkgrel=1
makedepends=('gcc')
arch=('x86_64')
+4 −1
Original line number Diff line number Diff line
@@ -54,13 +54,16 @@ Index: linux-2.6/kernel/sched.c
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/sched.h>
@@ -605,11 +606,14 @@ static inline int cpu_of(struct rq *rq)
@@ -605,14 +606,17 @@ static inline int cpu_of(struct rq *rq)
  */
 static inline struct task_group *task_group(struct task_struct *p)
 {
+	struct task_group *tg;
 	struct cgroup_subsys_state *css;

	if (p->flags & PF_EXITING)
		return &root_task_group;
 
 	css = task_subsys_state_check(p, cpu_cgroup_subsys_id,
 			lockdep_is_held(&task_rq(p)->lock));
-	return container_of(css, struct task_group, css);
+4 −1
Original line number Diff line number Diff line
--- linux-2.6.orig/kernel/sched.c
+++ linux-2.6/kernel/sched.c
@@ -606,27 +606,33 @@ static inline int cpu_of(struct rq *rq)
@@ -606,30 +606,36 @@ static inline int cpu_of(struct rq *rq)
  */
 static inline struct task_group *task_group(struct task_struct *p)
 {
-	struct task_group *tg;
 	struct cgroup_subsys_state *css;

	if (p->flags & PF_EXITING)
		return &root_task_group;
 
 	css = task_subsys_state_check(p, cpu_cgroup_subsys_id,
 			lockdep_is_held(&task_rq(p)->lock));
-	tg = container_of(css, struct task_group, css);
+3 −3
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
pkgname=kernel26-tools
pkgver=2.6.37
pkgrel=3
pkgver=2.6.37.2
pkgrel=1
pkgdesc="Performance analysis tools for Linux $pkgver"
license=('GPL2')
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ depends=('python2' 'perl')
makedepends=('asciidoc' 'xmlto')
optdepends=('libnewt' 'slang')
source=( "http://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2" ) 
md5sums=('c8ee37b4fdccdb651e0603d35350b434')
md5sums=('89f681bc7c917a84aa7470da6eed5101')

build() {
  cd "${srcdir}/linux-$pkgver/tools/perf"