Skip to content
  • Frederic Weisbecker's avatar
    m32r: Use generic PREEMPT config · dab16ae1
    Frederic Weisbecker authored
    
    
    Use the generic preempt config definition in m32r instead of
    using a custom one.
    
    This also makes it handle the new CONFIG_PREEMPT_COUNT that
    need to be selected by CONFIG_PREEMPT.
    
    Without that it breaks
    
      kernel/sched.c: In function 'preempt_schedule':
      kernel/sched.c:4364: error: implicit declaration of function 'add_preempt_count_notrace'
      kernel/sched.c:4366: error: implicit declaration of function 'sub_preempt_count_notrace'
    
    Reported-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Hirokazu Takata <takata@linux-m32r.org>
    dab16ae1