summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-03-08 16:55:04 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-03-08 16:55:04 +0100
commitcb22f01d2baf8955fbb98caa23877c2945bb069f (patch)
treeaa8d874142f58c001b739e789d8f3a5566d75680
parent5490ce7f3bf8c413c504b133672b65074a92102b (diff)
drop revert
-rw-r--r--debian/patches/revert-spl-thing.patch108
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 109 deletions
diff --git a/debian/patches/revert-spl-thing.patch b/debian/patches/revert-spl-thing.patch
deleted file mode 100644
index de4fbb8..0000000
--- a/debian/patches/revert-spl-thing.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-commit f36b303045935bfd5ff830023e2dcf6e3124432a
-Author: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Sat Mar 7 10:28:19 2015 +0100
-
- Revert "Make spl7 just clear IF instead of setting the PIC mask"
-
- This reverts commit 6f8e390eea2ac9aaa754e1ab2ecd73af5857f798.
-
-diff --git a/i386/i386/locore.S b/i386/i386/locore.S
-index cfda86f..fe39b67 100644
---- a/i386/i386/locore.S
-+++ b/i386/i386/locore.S
-@@ -119,7 +119,6 @@ LEXT(retry_table_end) ;\
- * Uses %eax, %ebx, %ecx.
- */
- #define TIME_TRAP_UENTRY \
-- pushf /* Save flags */ ;\
- cli /* block interrupts */ ;\
- movl VA_ETC,%ebx /* get timer value */ ;\
- movl CX(EXT(current_tstamp),%edx),%ecx /* get old time stamp */;\
-@@ -132,7 +131,7 @@ LEXT(retry_table_end) ;\
- 0: addl $(TH_SYSTEM_TIMER-TH_USER_TIMER),%ecx ;\
- /* switch to sys timer */;\
- movl %ecx,CX(EXT(current_timer),%edx) /* make it current */ ;\
-- popf /* allow interrupts */
-+ sti /* allow interrupts */
-
- /*
- * Update time on system call entry.
-@@ -142,7 +141,6 @@ LEXT(retry_table_end) ;\
- * Same as TIME_TRAP_UENTRY, but preserves %eax.
- */
- #define TIME_TRAP_SENTRY \
-- pushf /* Save flags */ ;\
- cli /* block interrupts */ ;\
- movl VA_ETC,%ebx /* get timer value */ ;\
- movl CX(EXT(current_tstamp),%edx),%ecx /* get old time stamp */;\
-@@ -157,7 +155,7 @@ LEXT(retry_table_end) ;\
- 0: addl $(TH_SYSTEM_TIMER-TH_USER_TIMER),%ecx ;\
- /* switch to sys timer */;\
- movl %ecx,CX(EXT(current_timer),%edx) /* make it current */ ;\
-- popf /* allow interrupts */
-+ sti /* allow interrupts */
-
- /*
- * update time on user trap exit.
-diff --git a/i386/i386/spl.S b/i386/i386/spl.S
-index 41458ac..3c07509 100644
---- a/i386/i386/spl.S
-+++ b/i386/i386/spl.S
-@@ -140,35 +140,15 @@ Entry(splsched)
- Entry(splhigh)
- Entry(splhi)
- ENTRY(spl7)
-- /* ipl7 just clears IF */
-- movl $SPL7,%eax
-- xchgl EXT(curr_ipl),%eax
-- cli
-- ret
-+ SETIPL(SPL7)
-
- ENTRY(splx)
- movl S_ARG0,%edx /* get ipl */
--
--#if MACH_KDB || MACH_TTD
-- /* First make sure that if we're exitting from ipl7, IF is still cleared */
-- cmpl $SPL7,EXT(curr_ipl) /* from ipl7? */
-- jne 0f
-- pushfl
-- popl %eax
-- testl $0x200,%eax /* IF? */
-- jz 0f
-- int3 /* Oops, interrupts got enabled?! */
--
--0:
--#endif /* MACH_KDB || MACH_TTD */
- testl %edx,%edx /* spl0? */
- jz EXT(spl0) /* yes, handle specially */
- cmpl EXT(curr_ipl),%edx /* same ipl as current? */
- jne spl /* no */
-- cmpl $SPL7,%edx /* spl7? */
-- je 1f /* to ipl7, don't enable interrupts */
- sti /* ensure interrupts are enabled */
--1:
- movl %edx,%eax /* return previous ipl */
- ret
-
-@@ -227,20 +207,6 @@ splx_cli:
- .align TEXT_ALIGN
- .globl spl
- spl:
--#if MACH_KDB || MACH_TTD
-- /* First make sure that if we're exitting from ipl7, IF is still cleared */
-- cmpl $SPL7,EXT(curr_ipl) /* from ipl7? */
-- jne 0f
-- pushfl
-- popl %eax
-- testl $0x200,%eax /* IF? */
-- jz 0f
-- int3 /* Oops, interrupts got enabled?! */
--
--0:
--#endif /* MACH_KDB || MACH_TTD */
-- cmpl $SPL7,%edx /* spl7? */
-- je EXT(spl7) /* yes, handle specially */
- movl EXT(pic_mask)(,%edx,4),%eax
- /* get PIC mask */
- cli /* disable interrupts */
diff --git a/debian/patches/series b/debian/patches/series
index fcb6f4b..530b368 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,4 +8,3 @@ Add-some-padding-to-make-objects-fit-a-single-cache-.patch
vm_cache_policy.patch
vm_page_cleanq.patch
task-load.patch
-revert-spl-thing.patch