diff options
author | 2006-01-25 21:31:26 +1300 | |
---|---|---|
committer | 2006-02-07 21:28:38 +1100 | |
commit | 8c20fafa8548917fdbbd95588494498dd901b375 (patch) | |
tree | 37cbfdc145261c0bb292320bbeaa75699942717b /arch/powerpc/kernel/iommu.c | |
parent | [PATCH] powerpc: Don't allocate zero bytes in finish_device_tree() (diff) | |
download | wireguard-linux-8c20fafa8548917fdbbd95588494498dd901b375.tar.xz wireguard-linux-8c20fafa8548917fdbbd95588494498dd901b375.zip |
[PATCH] powerpc: Make sure we don't create empty lmb regions
To prevent problems later in boot, make sure we don't create zero-size lmb
regions.
I've checked all the callers, and at the moment no one should ever hit this.
All callers use a constant size, or they check the computed size before they
call us.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
0 files changed, 0 insertions, 0 deletions