x86: Fix various typos in comments
[linux-2.6-microblaze.git] / arch / x86 / kernel / process.c
index 145a7ac..cdfe5b4 100644 (file)
@@ -161,7 +161,7 @@ int copy_thread(unsigned long clone_flags, unsigned long sp, unsigned long arg,
 #endif
 
        /* Kernel thread ? */
-       if (unlikely(p->flags & PF_KTHREAD)) {
+       if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) {
                memset(childregs, 0, sizeof(struct pt_regs));
                kthread_frame_init(frame, sp, arg);
                return 0;
@@ -451,7 +451,7 @@ void speculative_store_bypass_ht_init(void)
         * First HT sibling to come up on the core.  Link shared state of
         * the first HT sibling to itself. The siblings on the same core
         * which come up later will see the shared state pointer and link
-        * themself to the state of this CPU.
+        * themselves to the state of this CPU.
         */
        st->shared_state = st;
 }