Commit 9c548bb5 authored by Guenter Roeck's avatar Guenter Roeck Committed by David S. Miller

sparc64: Oracle DAX driver depends on SPARC64

sparc:allmodconfig fails to build as follows.

ERROR: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_get_property" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_node_by_name" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_grab" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_info" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_submit" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_kill" [drivers/sbus/char/oradax.ko] undefined!

The symbols are only available with SPARC64 builds, thus the driver
depends on it.

Fixes: dd027328 ("sparc64: Oracle DAX driver")
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8f5fd927
...@@ -72,7 +72,8 @@ config DISPLAY7SEG ...@@ -72,7 +72,8 @@ config DISPLAY7SEG
config ORACLE_DAX config ORACLE_DAX
tristate "Oracle Data Analytics Accelerator" tristate "Oracle Data Analytics Accelerator"
default m if SPARC64 depends on SPARC64
default m
help help
Driver for Oracle Data Analytics Accelerator, which is Driver for Oracle Data Analytics Accelerator, which is
a coprocessor that performs database operations in hardware. a coprocessor that performs database operations in hardware.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment