* using the rt patch with rc7 (or git HEAD)
@ 2007-04-22 17:50 James Cloos
0 siblings, 0 replies; only message in thread
From: James Cloos @ 2007-04-22 17:50 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-rt-users
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 <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-22 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-22 17:50 using the rt patch with rc7 (or git HEAD) James Cloos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®