@@ -1751,7 +1751,7 @@ ENTRY(sys_vfork_wrapper)
mfctl %cr27, %r28
STREG %r28, PT_CR27(%r1)
- b sys_vfork,%r2
+ b sys_vfork
copy %r1,%r26
ENDPROC(sys_vfork_wrapper)
@@ -52,6 +52,7 @@
#include <asm/io.h>
#include <asm/asm-offsets.h>
+#include <asm/assembly.h>
#include <asm/pdc.h>
#include <asm/pdc_chassis.h>
#include <asm/pgalloc.h>
@@ -255,7 +256,7 @@ copy_thread(unsigned long clone_flags, unsigned long usp,
#endif
cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE;
- if (unlikely((p->flags & PF_KTHREAD)) {
+ if (unlikely(p->flags & PF_KTHREAD)) {
memset(cregs, 0, sizeof(struct pt_regs));
if (!usp) /* idle thread */
return 0;