Changeset fa69a12 in rtems-libbsd


Ignore:
Timestamp:
Oct 30, 2015, 7:00:59 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, a58f553e9dda119aa149fd8ba814c564a5d4a9b2, freebsd-9.3, 182aac377d7e345847d4dd11387ff549d27bd55d
Children:
55d372f
Parents:
5d37f0e
git-author:
Sebastian Huber <sebastian.huber@…> (10/30/15 07:00:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/26/16 13:20:59)
Message:

Dummy PHOLD() and PRELE()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/proc.h

    r5d37f0e rfa69a12  
    796796#define SESS_LOCK_ASSERT(s, type)       mtx_assert(&(s)->s_mtx, (type))
    797797
     798#ifndef __rtems__
    798799/* Hold process U-area in memory, normally for ptrace/procfs work. */
    799800#define PHOLD(p) do {                                                   \
     
    829830        KASSERT((p)->p_lock == 0, ("process held"));                    \
    830831} while (0)
     832#else /* __rtems__ */
     833#define PHOLD(x) do { } while (0)
     834#define PRELE(x) do { } while (0)
     835#endif /* __rtems__ */
    831836
    832837/* Check whether a thread is safe to be swapped out. */
Note: See TracChangeset for help on using the changeset viewer.