Mudanças entre as edições de "Nvidia-352.41-rt.patch"

De LCAD
Ir para: navegação, pesquisa
(Criou página com 'Copie as linhas abaixo e salve num arquivo de texto com nome: '''nvidia-352.41-rt.patch''' 41a42,43 > #define CONFIG_PREEMPT_RT_FULL 1 > 340,343c342,352 < #if defined(C...')
 
 
Linha 1: Linha 1:
Copie as linhas abaixo e salve num arquivo de texto com nome: '''nvidia-352.41-rt.patch'''
+
Copy the following lines to a blank text file and name it: '''nvidia-352.41-rt.patch'''
  
 
  41a42,43
 
  41a42,43

Edição atual tal como às 00h20min de 30 de novembro de 2017

Copy the following lines to a blank text file and name it: nvidia-352.41-rt.patch

41a42,43
> #define CONFIG_PREEMPT_RT_FULL 1
> 
340,343c342,352
< #if defined(CONFIG_PREEMPT_RT) || defined(CONFIG_PREEMPT_RT_FULL)
< #define NV_CONFIG_PREEMPT_RT 1
< #endif
< 
---
> #if defined(CONFIG_PREEMPT_RT_FULL)
> typedef raw_spinlock_t            nv_spinlock_t;
> #define NV_SPIN_LOCK_INIT(lock)   raw_spin_lock_init(lock)
> #define NV_SPIN_LOCK_IRQ(lock)    raw_spin_lock_irq(lock)
> #define NV_SPIN_UNLOCK_IRQ(lock)  raw_spin_unlock_irq(lock)
> #define NV_SPIN_LOCK_IRQSAVE(lock,flags) raw_spin_lock_irqsave(lock,flags)
> #define NV_SPIN_UNLOCK_IRQRESTORE(lock,flags) raw_spin_unlock_irqrestore(lock,flags)
> #define NV_SPIN_LOCK(lock)        raw_spin_lock(lock)
> #define NV_SPIN_UNLOCK(lock)      raw_spin_unlock(lock)
> #define NV_SPIN_UNLOCK_WAIT(lock) raw_spin_unlock_wait(lock)
> #else
352a362
> #endif
905c915
< #if defined(NV_CONFIG_PREEMPT_RT)
---
> #if defined(CONFIG_PREEMPT_RT_FULL)