mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-04 09:43:06 +00:00
base-hw: fix bug in 'Platform_thread::pager()'
This commit is contained in:
parent
0a2e8909ee
commit
02fccf5cb2
@ -151,7 +151,7 @@ namespace Genode {
|
||||
|
||||
void pager(Pager_object * const pager);
|
||||
|
||||
Pager_object * pager() const;
|
||||
Pager_object * pager();
|
||||
|
||||
unsigned pd_id() const { return _pd_id; }
|
||||
|
||||
|
@ -160,9 +160,6 @@ void Platform_thread::pager(Pager_object * const pager)
|
||||
}
|
||||
|
||||
|
||||
Genode::Pager_object * Platform_thread::pager() const
|
||||
{
|
||||
assert(_rm_client)
|
||||
return static_cast<Pager_object *>(_rm_client);
|
||||
}
|
||||
Genode::Pager_object * Platform_thread::pager() {
|
||||
return _rm_client ? static_cast<Pager_object *>(_rm_client) : 0; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user