From: James Cloos Subject: using the rt patch with rc7 (or git HEAD) Date: Sun, 22 Apr 2007 13:50:27 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-rt-users@vger.kernel.org To: linux-kernel@vger.kernel.org Return-path: Received: from eagle.jhcloos.com ([207.210.242.212]:2390 "EHLO eagle.jhcloos.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754017AbXDVSA2 (ORCPT ); Sun, 22 Apr 2007 14:00:28 -0400 Sender: linux-rt-users-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org This recipe results in only two conflicts. The obvious and easily fixed EXTRAVERSION conflict as well as the conflict shown below from kernel/sched.c: #!/bin/sh git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2.6.21-rc7-rt cd 2.6.21-rc7-rt git branch rc6 v2.6.21-rc6 git branch rc7 v2.6.21-rc7 git branch rc6-rt0 rc6 git checkout rc6-rt0 git pull git://people.freedesktop.org/~cloos/rt-2.6.git 2.6.21-rc6-rt0 git branch rc7-rt git checkout rc7-rt git pull . rc7 The conlict is: ,----( conflict from kernel/sched.c from pulling rc7 into rc6-rt0 ) | <<<<<<< HEAD:kernel/sched.c | static inline struct task_struct *eldest_child(struct task_struct *p) | { | if (list_empty(&p->children)) | return NULL; | return list_entry(p->children.next,struct task_struct,sibling); | } | | static inline struct task_struct *older_sibling(struct task_struct *p) | { | if (p->sibling.prev==&p->parent->children) | return NULL; | return list_entry(p->sibling.prev,struct task_struct,sibling); | } | | static inline struct task_struct *younger_sibling(struct task_struct *p) | { | if (p->sibling.next==&p->parent->children) | return NULL; | return list_entry(p->sibling.next,struct task_struct,sibling); | } | | static const char stat_nam[] = "RMSDTtZX"; | ======= | static const char stat_nam[] = "RSDTtZX"; | >>>>>>> 94a05509a9e11806acd797153d03019706e466f1:kernel/sched.c `---- Resolving that conflict (I tried using the <<<<<<< version) and the EXTRAVERSION conflict allows a subsequent git pull . master to complete w/o conflicts. Obviously keeping the three functions in won't harm the resulting kernel, but is leaving the M in stat_nam[] the correct resolution? I'll be testing this kernel later this afternoon. (As soon as I can do the reboot.) Incidently, has anyone tried combining the rt patches with any of the scheduler patches? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6