Lines 1902-1914
Link Here
|
1902 |
/** \brief Grab global kernel lock */ |
1902 |
/** \brief Grab global kernel lock */ |
1903 |
void ATI_API_CALL KCL_GlobalKernelLock(void) |
1903 |
void ATI_API_CALL KCL_GlobalKernelLock(void) |
1904 |
{ |
1904 |
{ |
|
|
1905 |
#ifdef CONFIG_KERNEL_LOCK |
1905 |
lock_kernel(); |
1906 |
lock_kernel(); |
|
|
1907 |
#endif |
1906 |
} |
1908 |
} |
1907 |
|
1909 |
|
1908 |
/** \brief Release global kernel lock */ |
1910 |
/** \brief Release global kernel lock */ |
1909 |
void ATI_API_CALL KCL_GlobalKernelUnlock(void) |
1911 |
void ATI_API_CALL KCL_GlobalKernelUnlock(void) |
1910 |
{ |
1912 |
{ |
|
|
1913 |
#ifdef CONFIG_KERNEL_LOCK |
1911 |
unlock_kernel(); |
1914 |
unlock_kernel(); |
|
|
1915 |
#endif |
1912 |
} |
1916 |
} |
1913 |
|
1917 |
|
1914 |
/*****************************************************************************/ |
1918 |
/*****************************************************************************/ |