forked from Minki/linux
remove CONFIG_KMOD from sparc64
One place is just a comment, the other a conditional, unused inclusion of linux/kmod.h. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
df648c9fbe
commit
184b6c7682
@ -683,9 +683,9 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
|
|||||||
((unsigned long) child_sf) - STACK_BIAS;
|
((unsigned long) child_sf) - STACK_BIAS;
|
||||||
|
|
||||||
/* Special case, if we are spawning a kernel thread from
|
/* Special case, if we are spawning a kernel thread from
|
||||||
* a userspace task (via KMOD, NFS, or similar) we must
|
* a userspace task (usermode helper, NFS or similar), we
|
||||||
* disable performance counters in the child because the
|
* must disable performance counters in the child because
|
||||||
* address space and protection realm are changing.
|
* the address space and protection realm are changing.
|
||||||
*/
|
*/
|
||||||
if (t->flags & _TIF_PERFCTR) {
|
if (t->flags & _TIF_PERFCTR) {
|
||||||
t->user_cntd0 = t->user_cntd1 = NULL;
|
t->user_cntd0 = t->user_cntd1 = NULL;
|
||||||
|
@ -36,9 +36,6 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/timer.h>
|
#include <asm/timer.h>
|
||||||
#include <asm/head.h>
|
#include <asm/head.h>
|
||||||
#ifdef CONFIG_KMOD
|
|
||||||
#include <linux/kmod.h>
|
|
||||||
#endif
|
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
|
|
||||||
#include "entry.h"
|
#include "entry.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user